Skip to content

Commit

Permalink
Finish swapping from travis to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Stewart committed Feb 5, 2021
1 parent 24c28eb commit c465e9d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 56 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@ jobs:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
env:
PGP_PASSPHRASE: ${{ secrets.PGP_SECRET }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
with:
java-version: 8
gpg-private-key: ${{ secrets.PGP_SECRET }}
gpg-passphrase: PGP_PASSPHRASE
server-username: SONATYPE_USERNAME
server-password: SONATYPE_PASSWORD
- name: print Java version
run: java -version
- name: Build with Maven
env:
PGP_KEYID: ${{ secrets.PGP_KEYID }}
run: |
if [[ "$GITHUB_REF" = refs/heads/* ]]; then
export VERSIONING_GIT_BRANCH=${GITHUB_REF#refs/heads/};
Expand All @@ -27,6 +37,4 @@ jobs:
export VERSIONING_GIT_BRANCH=${GITHUB_REF#refs/};
VERSIONING_GIT_BRANCH=${VERSIONING_GIT_BRANCH%/merge};
fi
mvn clean deploy -Possrh --settings settings.xml
mvn clean deploy -Possrh
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

14 changes: 0 additions & 14 deletions settings.xml

This file was deleted.

Binary file removed travis/secrets.tar.enc
Binary file not shown.

0 comments on commit c465e9d

Please sign in to comment.