From 39aaacaf873a66bcb991a7ac50d3fb81dac5ed59 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 29 Jul 2023 22:04:58 +0100 Subject: [PATCH] Fix GitHub pull request builds --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c245c78b..1b015fc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,9 +92,11 @@ jobs: - name: Import GPG key run: echo -n "${{ secrets.GPG_SIGNING_KEY }}" | gpg --import + if: github.event_name == 'push' - name: Sign archive run: gpg --output "build/package/${{ steps.build-archive.outputs.filename }}.sig" --detach-sig "build/package/${{ steps.build-archive.outputs.filename }}" + if: github.event_name == 'push' - name: Upload archive uses: actions/upload-artifact@v3 @@ -187,9 +189,11 @@ jobs: - name: Import GPG key run: echo -n "${{ secrets.GPG_SIGNING_KEY }}" | gpg --import + if: github.event_name == 'push' - name: Sign archive run: gpg --output "build/package/${{ steps.build-archive.outputs.filename }}.sig" --detach-sig "build/package/${{ steps.build-archive.outputs.filename }}" + if: github.event_name == 'push' - name: Upload archive uses: actions/upload-artifact@v3