Skip to content

Commit

Permalink
Updating release
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaytotomato committed Aug 5, 2024
1 parent 3ba6e4b commit b582f9c
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,8 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'

- name: Import GPG Key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode | gpg --batch --import
echo "${{ secrets.GPG_KEY_ID }}" > key_id
gpg --batch --import-ownertrust < key_id
env:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}

- name: Setup Maven Settings
uses: s4u/maven-settings-action@v3.0.0
Expand All @@ -40,6 +33,8 @@ jobs:

- name: Build with Maven
run: mvn clean verify
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Package with Maven
run: mvn versions:set -DnewVersion=${{ env.RELEASE_VERSION }} && mvn package -DskipTests
Expand Down

0 comments on commit b582f9c

Please sign in to comment.