File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -52,20 +52,10 @@ jobs:
5252 - name : Get version
5353 id : get_tag_name
5454 run : echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
55- - name : Import GPG key
56- env :
57- # exported via `gpg -a --export-secret-keys <key> | cat -e | sed 's/\$/\\n/g' | xclip -selection clipboard` and added to org secrets
58- SONATYPE_GPG : ${{ secrets.SONATYPE_GPG }}
59- run : echo -e $SONATYPE_GPG | gpg --import -
6055 - name : Publish artifacts
6156 env :
62- SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
57+ PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
58+ PGP_SECRET : ${{ secrets.PGP_SECRET }}
6359 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
64- run : sbt 'set ThisBuild/version := "${{ steps.get_tag_name.outputs.VERSION }}"' +publishSigned
65- - name : Release Sonatype bundle
66- # https://github.com/xerial/sbt-sonatype#publishing-your-artifact
67- if : ${{ !endsWith(steps.get_tag_name.outputs.VERSION, 'SNAPSHOT') }}
68- env :
6960 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
70- SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
71- run : sbt 'set ThisBuild/version := "${{ steps.get_tag_name.outputs.VERSION }}"' sonatypeBundleRelease
61+ run : sbt ci-release
You can’t perform that action at this time.
0 commit comments