From 613db44e80f1a08def400e0b7e2f922eed688370 Mon Sep 17 00:00:00 2001 From: Adrien Piquerez Date: Wed, 8 Mar 2023 15:07:40 +0100 Subject: [PATCH] Fix setup GPG secret key --- .github/workflows/release-expression-compiler.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-expression-compiler.yml b/.github/workflows/release-expression-compiler.yml index 543f4e030..aaa195294 100644 --- a/.github/workflows/release-expression-compiler.yml +++ b/.github/workflows/release-expression-compiler.yml @@ -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: @@ -39,8 +38,10 @@ jobs: submodules: true - uses: coursier/setup-action@v1.3.0 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'