Skip to content

Commit 613db44

Browse files
committed
Fix setup GPG secret key
1 parent d7292a5 commit 613db44

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-expression-compiler.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
env:
3131
SCALA_VERSION: ${{ inputs.scala-version }}
3232
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
33-
PGP_SECRET: ${{ secrets.PGP_SECRET }}
3433
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
3534
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
3635
steps:
@@ -39,8 +38,10 @@ jobs:
3938
submodules: true
4039
- uses: coursier/[email protected]
4140
with:
42-
app: sbt
41+
apps: sbt
4342
jvm: 'adopt:1.8.0-292'
43+
- name: setup GPG secret key
44+
run: echo ${{ secrets.PGP_SECRET }} | base64 --decode | gpg --batch --import
4445
- run: sbt 'expressionCompiler3/publishSigned;sonatypeBundleRelease'
4546
if: startsWith(inputs.scala-version, '3') && !startsWith(inputs.scala-version, '3.0')
4647
- run: sbt 'expressionCompiler3_0/publishSigned;sonatypeBundleRelease'

0 commit comments

Comments
 (0)