Update the pythonpackage.yml job to only upload artifacts for 'push' (#1322)

(cherry picked from commit 3120252982)
This commit is contained in:
Ross Wolf
2021-07-06 13:40:39 -06:00
committed by github-actions[bot]
parent d6cc14d889
commit 77eaa64bf9
+3 -1
View File
@@ -36,8 +36,10 @@ jobs:
run: |
python -m detection_rules dev build-release
- name: Archive production artifacts
- name: Archive production artifacts for branch builds
uses: actions/upload-artifact@v2
if: |
github.event_name == 'push'
with:
name: release-files
path: |