File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ jobs:
2121 - name : Upload code coverage
2222 uses : codecov/codecov-action@v2
2323 - name : Release
24- if : startsWith(github.ref, 'refs/tags/') && ${{ matrix.java }} == 17
24+ if : startsWith(github.ref, 'refs/tags/') && matrix.java == 17
2525 env :
2626 GPG_KEY_NAME : C546418B
27- GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
27+ GPG_PASSPHRASE_KEY : ${{ secrets.GPG_PASSPHRASE_KEY }}
28+ GPG_PASSPHRASE_FILE : ${{ secrets.GPG_PASSPHRASE_FILE }}
2829 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
2930 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
3031 run : |
Original file line number Diff line number Diff line change 1515 </activation >
1616 <properties >
1717 <gpg .keyname>${env.GPG_KEY_NAME}</gpg .keyname>
18- <gpg .passphrase>${env.GPG_PASSPHRASE }</gpg .passphrase>
18+ <gpg .passphrase>${env.GPG_PASSPHRASE_KEY }</gpg .passphrase>
1919 </properties >
2020 </profile >
2121 </profiles >
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- echo " $GPG_PASSPHRASE " | gpg --batch --yes --passphrase-fd 0 --output ci/codesigning.asc --decrypt ci/codesigning.asc.enc
2+ echo " $GPG_PASSPHRASE_FILE " | gpg --batch --yes --passphrase-fd 0 --output ci/codesigning.asc --decrypt ci/codesigning.asc.enc
33gpg --batch --fast-import ci/codesigning.asc
You can’t perform that action at this time.
0 commit comments