Skip to content

Commit

Permalink
try to fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
moovida committed Aug 20, 2024
1 parent ade7d8f commit d4cbb73
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ jobs:
java-version: '11'
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_TOKEN }}

- name: Run Tests
run: |
mvn --no-transfer-progress \
--batch-mode \
clean verify
- id: install-secret-key
name: Install gpg secret key
Expand All @@ -33,9 +39,6 @@ jobs:
gpg --list-secret-keys --keyid-format LONG
- name: Build and Deploy Snapshot
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
run: |
mvn --no-transfer-progress \
--batch-mode \
Expand Down

0 comments on commit d4cbb73

Please sign in to comment.