Skip to content

Commit a880a6f

Browse files
authored
Migrate upload-artifact GitHub Action to v4 from v3 (#148)
1 parent db7cedd commit a880a6f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/actions/download-artifact/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ runs:
1515
using: composite
1616
steps:
1717
- name: Download artifacts
18-
uses: actions/download-artifact@v3
18+
uses: actions/download-artifact@v4
1919
with:
2020
name: ${{ inputs.name }}
2121
path: ${{ inputs.path }}
22+
include-hidden-files: true
2223

2324
- name: Extract artifacts
2425
run: tar -xvf ${{ inputs.name }}.tar

.github/actions/upload-artifact/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ runs:
3737
shell: bash
3838

3939
- name: Upload artifacts
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
if-no-files-found: ${{ inputs.if-no-files-found }}
4343
name: ${{ inputs.name }}
4444
path: ${{ inputs.name }}.tar
4545
retention-days: ${{ inputs.retention-days }}
46+
overwrite: true
4647

4748
- name: Remove archive
4849
run: rm -f ${{ inputs.name }}.tar

0 commit comments

Comments
 (0)