Skip to content

Commit

Permalink
Handle missing artifacts gracefully
Browse files Browse the repository at this point in the history
  • Loading branch information
dorschw authored Dec 26, 2023
1 parent 8579f76 commit ca756c3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ jobs:
mkdir artifacts
demisto-sdk lint -a --log-file-path ./artifacts/lint_debug_log.log
- name: Archive unit test results
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: lint_debug_log
path: artifacts/lint_debug_log.log
if-no-files-found: "ignore"
- name: Create ID Set
run: |
demisto-sdk create-id-set -o artifacts/pack_id_set.json
Expand All @@ -63,7 +64,7 @@ jobs:
- name: Upload ID set file to artifacts
if: always()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: id_set
path: artifacts/id_set.json
Expand All @@ -77,7 +78,7 @@ jobs:
run: demisto-sdk create-content-artifacts --artifacts_path artifacts
- name: Archive Content Packs zip
if: always()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: content_packs
path: artifacts/content_packs.zip
path: artifacts/content_packs.zip

0 comments on commit ca756c3

Please sign in to comment.