From 1ba1ffd5687b4bfe52985692dcfc5d044a70070e Mon Sep 17 00:00:00 2001 From: OlegYch Date: Fri, 18 Oct 2024 17:51:10 +0200 Subject: [PATCH] Fix passing env vars to sbtn --- .github/workflows/release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de92280..1109a13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,10 @@ jobs: runs-on: ubuntu-20.04 env: SBT_NATIVE_CLIENT: true + PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} + PGP_SECRET: ${{ secrets.PGP_SECRET }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} steps: - uses: actions/checkout@v2.3.4 with: @@ -19,11 +23,6 @@ jobs: - uses: coursier/cache-action@v6.3 - run: sbt versionCheck - run: sbt ci-release - env: - PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} - PGP_SECRET: ${{ secrets.PGP_SECRET }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - name: Generate site run: sbt makeSite - uses: JamesIves/github-pages-deploy-action@4.1.9