Skip to content

Commit

Permalink
Do not build artifacts for PR builds (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt authored Jan 10, 2021
1 parent 07400fb commit 0c891b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 0c891b5

Please sign in to comment.