Update the pythonpackage.yml job to only upload artifacts for 'push' (#1322)
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user