Skip to content

Commit

Permalink
Test env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
jfbenckhuijsen committed Apr 16, 2024
1 parent 54d2688 commit df85e7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ jobs:
run: |
echo ${MAVEN_GPG_KEY} > private_key.txt
head -n 1 private_key.txt
echo ${TEST_ME}
wc -l private_key.txt
gpg --import --batch private_key.txt
mvn --batch-mode -P release -P release-to-central deploy
env:
MAVEN_GPG_KEY: ${{ secrets.MAVEN_GPG_KEY }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
TEST_ME: $${{ vars.MAVEN_GPG_TEST }}
- name: Publish to GitHub Packages
run: mvn --batch-mode -P release -P release-to-github deploy
env:
Expand Down

0 comments on commit df85e7a

Please sign in to comment.