fix: github workflow only upload artifacts on push

This commit is contained in:
Aaron Blankstein
2020-07-24 14:29:28 -05:00
parent 27b25f3c98
commit dd83d1ab79

View File

@@ -23,7 +23,9 @@ jobs:
run: build-scripts/build-dist.sh
- name: Upload artifact
# Only upload the artifacts if we're actually pushed to master
if: ${{ github.event_name == 'push' }}
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.platform }}
path: dist/
path: dist/