Skip to content

Commit

Permalink
More testing
Browse files Browse the repository at this point in the history
  • Loading branch information
aforward committed Sep 8, 2023
1 parent 06d3e42 commit 2ec3b61
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,10 @@ jobs:
else
echo "OSSRH_PASSWORD is available."
fi
- name: Export MAVEN_GPG_PASSPHRASE as an env variable
run: echo "MAVEN_GPG_PASSPHRASE=${{ secrets.MAVEN_GPG_PASSPHRASE }}" >> $GITHUB_ENV
- name: Check if MAVEN_GPG_PASSPHRASE is available
- name: Sign with our MAVEN_GPG_PASSPHRASE as an env variable
run: |
if [[ -z $MAVEN_GPG_PASSPHRASE ]]; then
echo "MAVEN_GPG_PASSPHRASE is not available!"
else
echo "MAVEN_GPG_PASSPHRASE is available."
fi
echo "1234" | gpg --no-use-agent -o /dev/null --local-user ${{ secrets.MAVEN_GPG_PASSPHRASE }} -as -
echo "The correct passphrase was entered for this key"
# Run for manual trigger (workflow dispatch), since you'll have release and next dev versions specified
# All commits will have a -SNAPSHOT project version anyway, since the releases will be handled here
Expand Down

0 comments on commit 2ec3b61

Please sign in to comment.