Skip to content

Commit 1e561b0

Browse files
committed
refactor: update actions/upload-artifact and actions/download-artifact to v4
1 parent f873739 commit 1e561b0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/14-artifacts.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
- name: Unit tests
3636
run: npm run test -- --coverage
3737
- name: Upload test results
38-
uses: actions/upload-artifact@v3
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: ${{ env.test-coverage-key }}
4141
path: 14-artifacts/react-app/coverage
4242
- name: Build code
4343
run: npm run build
4444
- name: Upload build files
45-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4646
with:
4747
name: ${{ env.build-artifact-key }}
4848
path: 14-artifacts/react-app/build
@@ -51,7 +51,7 @@ jobs:
5151
needs: test-build
5252
steps:
5353
- name: Download build artifact
54-
uses: actions/download-artifact@v3
54+
uses: actions/download-artifact@v4
5555
with:
5656
name: ${{ env.build-artifact-key }}
5757
path: build

14-artifacts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can use the `upload-artifact` action to upload artifacts. These artifacts ca
1414

1515
```yaml
1616
- name: Archive production artifacts
17-
uses: actions/upload-artifact@v3
17+
uses: actions/upload-artifact@v4
1818
with:
1919
name: dist-without-markdown
2020
path: |
@@ -35,7 +35,7 @@ You can set a custom retention period for an artifact using the retention-days o
3535

3636
```yaml
3737
- name: Upload Artifact
38-
uses: actions/upload-artifact@v3
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: my-artifact
4141
path: my_file.txt

0 commit comments

Comments
 (0)