Skip to content

Commit

Permalink
Fix setup GPG secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed Mar 8, 2023
1 parent d7292a5 commit 613db44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-expression-compiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
env:
SCALA_VERSION: ${{ inputs.scala-version }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
steps:
Expand All @@ -39,8 +38,10 @@ jobs:
submodules: true
- uses: coursier/[email protected]
with:
app: sbt
apps: sbt
jvm: 'adopt:1.8.0-292'
- name: setup GPG secret key
run: echo ${{ secrets.PGP_SECRET }} | base64 --decode | gpg --batch --import
- run: sbt 'expressionCompiler3/publishSigned;sonatypeBundleRelease'
if: startsWith(inputs.scala-version, '3') && !startsWith(inputs.scala-version, '3.0')
- run: sbt 'expressionCompiler3_0/publishSigned;sonatypeBundleRelease'
Expand Down

0 comments on commit 613db44

Please sign in to comment.