Skip to content

Commit

Permalink
update download-artifact version to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
spbolton committed Nov 8, 2024
1 parent 09c4d78 commit e6f976a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd_1-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
finalize:
name: Finalize
if: always()
needs: [ sonar,test ]
needs: [ sonar,semgrep,test ]
uses: ./.github/workflows/cicd_comp_finalize-phase.yml
with:
needsData: ${{ toJson(needs) }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd_3-trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
finalize:
name: Finalize
if: always()
needs: [ initialize, build, build-cli, test, sonar, deployment]
needs: [ initialize, build, build-cli, test, sonar, semgrep, deployment]
uses: ./.github/workflows/cicd_comp_finalize-phase.yml
with:
artifact-run-id: ${{ needs.initialize.outputs.artifact-run-id }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cicd_comp_semgrep-phase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Upload Dependency Zip
uses: actions/upload-artifact@v4
with:
name: dependency-tree.zip
name: dependency-tree
path: dependency-tree.zip

semgrep:
Expand All @@ -63,7 +63,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download artifact from the previous job
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dependency-tree
- name: Semgrep Scan
Expand Down

0 comments on commit e6f976a

Please sign in to comment.