Skip to content

Commit 5c5396e

Browse files
update download and upload action to v4 (#79)
1 parent 7e403ca commit 5c5396e

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

code-check-actions/lua-lint/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runs:
2323

2424
- name: Upload results to workflow
2525
if: always()
26-
uses: actions/upload-artifact@v3
26+
uses: actions/upload-artifact@v4
2727
with:
2828
name: luacheck_results.zip
2929
path: |

security-actions/scan-docker-image/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
version: ${{ env.RELEASE_TAG }}
196196
publish: true
197197
commitish: ${{ github.sha }}
198-
- uses: actions/download-artifact@v3
198+
- uses: actions/download-artifact@v4
199199
with:
200200
path: ${{ github.workspace }}/sbom-artifacts
201201
- uses: AButler/upload-release-assets@v2.0
@@ -217,7 +217,7 @@
217217
```
218218
219219
- Using action to scan single platform docker image as a job within a workflow
220-
- Uses *actions/upload-artifact@v3* and *actions/download-artifact@v3* to share docker archives across jobs
220+
- Uses *actions/upload-artifact@v4* and *actions/download-artifact@v4* to share docker archives across jobs
221221
- On successful workflow completion, delete the Docker Archive workflow artifact at the end; otherwise retain for a 1 day at most
222222
- Better visualization using separate scan job in the pipeline
223223
@@ -274,7 +274,7 @@
274274
tags: ${{ steps.meta.outputs.tags }}
275275
outputs: "type=docker,dest=${{ env.DOCKER_OCI_ARCHIVE }}.tar" # Supports only single platform images
276276
- name: Upload Docker OCI layout TAR Artifact
277-
uses: actions/upload-artifact@v3
277+
uses: actions/upload-artifact@v4
278278
with:
279279
name: ${{ env.DOCKER_OCI_ARCHIVE }}
280280
path: ${{ env.DOCKER_OCI_ARCHIVE }}.tar
@@ -294,7 +294,7 @@
294294
buildx-tags: ${{ needs.docker-build.outputs.buildx-tags }}
295295
steps:
296296
- name: Download OCI docker TAR artifact
297-
uses: actions/download-artifact@v3
297+
uses: actions/download-artifact@v4
298298
with:
299299
name: ${{ env.DOCKER_OCI_ARCHIVE }}
300300
path: ${{ github.workspace }}/${{ env.DOCKER_OCI_ARCHIVE }}
@@ -323,7 +323,7 @@
323323
version: ${{ env.RELEASE_TAG }}
324324
publish: true
325325
commitish: ${{ github.sha }}
326-
- uses: actions/download-artifact@v3
326+
- uses: actions/download-artifact@v4
327327
with:
328328
path: ${{ github.workspace }}/sbom-artifacts
329329
- run: |
@@ -460,7 +460,7 @@
460460
version: ${{ env.RELEASE_TAG }}
461461
publish: true
462462
commitish: ${{ github.sha }}
463-
- uses: actions/download-artifact@v3
463+
- uses: actions/download-artifact@v4
464464
with:
465465
path: ${{ github.workspace }}/sbom-artifacts
466466
- run: |

security-actions/scan-rust/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ runs:
7676
7777
- name: Publish SARIF to github workflow artifact
7878
if: always()
79-
uses: actions/upload-artifact@v3
79+
uses: actions/upload-artifact@v4
8080
with:
8181
name: ${{ steps.meta.outputs.grype_sarif_file }}
8282
path: |

security-actions/semgrep/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
# Upload grype cve reports
3737
- name: Upload Semgrep SARIF to Workflow
3838
if: always()
39-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: semgrep_sast.zip
4242
path: |

security-actions/sign-docker-image/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ runs:
9696
done
9797
9898
# Upload Cosign Artifacts (public cert and signatures)
99+
# Uploaded artifact name must be unique across each workflow run / job
99100
- name: Upload Cosign Artifacts
100-
uses: actions/upload-artifact@v3
101+
uses: actions/upload-artifact@v4
101102
if: ${{ inputs.local_save_cosign_assets == 'true' && inputs.cosign_output_prefix != '' }}
102103
with:
103-
name: signed-image-assets
104+
name: signed-image-assets-${{inputs.cosign_output_prefix}}
104105
path: |
105106
${{inputs.cosign_output_prefix}}*.crt
106107
${{inputs.cosign_output_prefix}}.sig*

0 commit comments

Comments
 (0)