Skip to content

Commit 0c891b5

Browse files
authored
Do not build artifacts for PR builds (#68)
1 parent 07400fb commit 0c891b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ jobs:
6363

6464
- name: (release only) Get artifact filenames
6565
id: get_filenames
66-
# if: github.event_name != 'pull_request'
66+
if: github.event_name != 'pull_request'
6767
run: node .github/workflows/get_filenames.js
6868

6969
- name: (release only) Get exe
70-
# if: github.event_name != 'pull_request'
70+
if: github.event_name != 'pull_request'
7171
shell: bash
7272
run: |
7373
# from https://stackoverflow.com/a/24848739/617787
@@ -78,7 +78,7 @@ jobs:
7878
mv "$ESY__BINARY_PATH" ${{ steps.get_filenames.outputs.exe_name }}
7979
8080
- name: (release only) Upload artifact ${{ matrix.os }}
81-
# if: github.event_name != 'pull_request'
81+
if: github.event_name != 'pull_request'
8282
uses: actions/upload-artifact@v2
8383
with:
8484
name: ${{ steps.get_filenames.outputs.artifact_name }}

0 commit comments

Comments
 (0)