From 0c891b56ce99c8aeedb0da861f2d6346b21a67fd Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Sun, 10 Jan 2021 16:32:06 +0100 Subject: [PATCH] Do not build artifacts for PR builds (#68) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3487364..256901f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,11 +63,11 @@ jobs: - name: (release only) Get artifact filenames id: get_filenames - # if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' run: node .github/workflows/get_filenames.js - name: (release only) Get exe - # if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' shell: bash run: | # from https://stackoverflow.com/a/24848739/617787 @@ -78,7 +78,7 @@ jobs: mv "$ESY__BINARY_PATH" ${{ steps.get_filenames.outputs.exe_name }} - name: (release only) Upload artifact ${{ matrix.os }} - # if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' uses: actions/upload-artifact@v2 with: name: ${{ steps.get_filenames.outputs.artifact_name }}