From ddb5da1d79f4ff31314d55d71c69cb10ec47f250 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Wed, 30 Mar 2022 17:56:01 +0200 Subject: [PATCH] reintroduce condition for signing the tarball [ci skip] --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f2c74841..c72ae1f5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - name: Sign source tarball with key 615D449FE6E6A235 + if: startsWith(github.ref, 'refs/tags/') run: | git archive --prefix="cryptomator-${{ github.ref_name }}/" -o "cryptomator-${{ github.ref_name }}.tar.gz" ${{ github.ref }} echo "${GPG_PRIVATE_KEY}" | gpg --batch --quiet --import