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 df85e7a commit 50c473e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ jobs:
run: mvn -B versions:set -DnewVersion=${{ github.event.release.tag_name }} -DgenerateBackupPoms=false
- name: Publish to the Maven Central Repository
run: |
echo ${MAVEN_GPG_KEY} > private_key.txt
head -n 1 private_key.txt
echo ${TEST_ME}
wc -l private_key.txt
echo "${MAVEN_GPG_KEY}" > private_key.txt
gpg --import --batch private_key.txt
mvn --batch-mode -P release -P release-to-central deploy
env:
Expand Down

0 comments on commit 50c473e

Please sign in to comment.