File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,21 @@ jobs:
3939 uses : ./.github/actions/pre-release
4040 with :
4141 token : ${{ secrets.GITHUB_TOKEN }}
42+ - name : Generate secring file
43+ if : success()
44+ env :
45+ SECRING_FILE : ${{ secrets.SECRING_FILE }}
46+ run : echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
4247 - name : Run Assemble
4348 if : success()
4449 id : assemble
4550 uses : gradle/gradle-build-action@v2
4651 with :
47- arguments : assemble
52+ arguments : -Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg assemble
4853 env :
54+ SIGNING_KEY : ${{ secrets.SIGNING_KEY }}
55+ SIGNING_PASSPHRASE : ${{ secrets.SIGNING_PASSPHRASE }}
56+ SECRING_FILE : ${{ secrets.SECRING_FILE }}
4957 GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
5058 GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
5159 GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
6371 args : build/distributions/grails-${{ steps.release_version.outputs.value }}.zip
6472 env :
6573 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66- - name : Generate secring file
67- if : success()
68- env :
69- SECRING_FILE : ${{ secrets.SECRING_FILE }}
70- run : echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
7174 - name : Publish to Sonatype OSSRH
7275 id : publish
7376 if : success()
You can’t perform that action at this time.
0 commit comments