Skip to content

Commit

Permalink
Merge pull request #50 from ind1go/action-ibm
Browse files Browse the repository at this point in the history
Use GitHub Actions instead of Travis CI
  • Loading branch information
ind1go committed Sep 21, 2021
2 parents 4b22780 + fcb0077 commit a7d89e1
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 341 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build
on: [ push, pull_request ]
jobs:

build:
name: Maven Build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Java
uses: bjhargrave/setup-java@a1600c1f88a7741e2420b0a657f2838cec4f09c5
with:
java-version: '8'
distribution: 'temurin'
cache: maven
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Build and deploy with Maven
if: github.ref == 'refs/heads/main'
run: mvn -Dstyle.color=always -B -U -P sign deploy
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Build with Maven
if: github.ref != 'refs/heads/main'
run: mvn -Dstyle.color=always -B -U verify
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .travis/script.sh

This file was deleted.

10 changes: 0 additions & 10 deletions .travis/setup-signing.sh

This file was deleted.

Binary file removed .travis/signingkey.asc.enc
Binary file not shown.
277 changes: 0 additions & 277 deletions LICENSE

This file was deleted.

0 comments on commit a7d89e1

Please sign in to comment.