From da9476039b61a32592d67c1e15b5ecc6d7eeb38d Mon Sep 17 00:00:00 2001 From: Nadav Samet Date: Mon, 6 Jul 2020 08:15:34 -0700 Subject: [PATCH] Move pgp installation to before release --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61565ebe0..e638bea78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,8 @@ jobs: - uses: actions/setup-java@v1 with: java-version: 12 + - uses: olafurpg/setup-gpg@v2 + if: startsWith(github.ref, 'refs/tags/v') - name: Publish ${{ github.ref }} run: sbt ci-release env: @@ -49,8 +51,6 @@ jobs: .cicd/push_website.sh env: TOKEN: ${{secrets.DEPLOY_KEY}} - - uses: olafurpg/setup-gpg@v2 - if: startsWith(github.ref, 'refs/tags/v') scalapbc: runs-on: ubuntu-latest