From 4828b7fde898d954474f7cef4fb1ecc03d41a479 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Tue, 24 Oct 2023 23:04:32 +0200 Subject: [PATCH] Enable collecting GitHub build artifacts for forks (#10574) --- .github/workflows/deployment.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 0352cf29551..c23f0ccf516 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -224,6 +224,13 @@ jobs: # tbn = to-be-notarized name: JabRef-macOS-tbn path: build/distribution + - name: Upload to GitHub workflow artifacts store + if: (steps.checksecrets.outputs.secretspresent != 'YES') + uses: actions/upload-artifact@v3 + with: + # tbn = to-be-notarized + name: JabRef-${{ matrix.os }} + path: build/distribution announce: name: Comment on pull request runs-on: ubuntu-latest @@ -242,7 +249,7 @@ jobs: env: BUILDJABREFPRIVATEKEY: ${{ secrets.buildJabRefPrivateKey }} - name: Comment PR - if: steps.checksecrets.outputs.secretspresent == 'YES' + if: (steps.checksecrets.outputs.secretspresent == 'YES') uses: thollander/actions-comment-pull-request@v2 with: message: |