Skip to content

Commit 5cb843f

Browse files
committed
chore: migrate actions/upload-artifact to v4
1 parent 38a0f51 commit 5cb843f

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
- name: Build
2929
run: npm run build
3030
- name: Archive artifacts
31-
uses: actions/upload-artifact@v3
31+
uses: actions/upload-artifact@v4
3232
with:
3333
name: dist-${{ inputs.os }}
3434
path: dist
3535
- name: Archive npm failure logs
36-
uses: actions/upload-artifact@v3
36+
uses: actions/upload-artifact@v4
3737
if: failure()
3838
with:
39-
name: npm-logs
39+
name: npm-logs-${{ inputs.os }}
4040
path: ~/.npm/_logs

.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
github-token: ${{ secrets.GITHUB_TOKEN }}
2424
- name: Archive npm failure logs
25-
uses: actions/upload-artifact@v3
25+
uses: actions/upload-artifact@v4
2626
if: failure()
2727
with:
2828
name: npm-logs

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
branch: gh-pages
2525
folder: docs/public
2626
- name: Archive npm failure logs
27-
uses: actions/upload-artifact@v3
27+
uses: actions/upload-artifact@v4
2828
if: failure()
2929
with:
3030
name: npm-logs

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Lint
1919
run: npm run lint
2020
- name: Archive npm failure logs
21-
uses: actions/upload-artifact@v3
21+
uses: actions/upload-artifact@v4
2222
if: failure()
2323
with:
2424
name: npm-logs

.github/workflows/performance.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
with:
2020
node-version: '20'
2121
- name: Download artifacts
22-
uses: actions/download-artifact@v3
22+
uses: actions/download-artifact@v4
2323
with:
2424
name: dist-${{ inputs.os }}
2525
path: dist
2626
- name: Check Performance
2727
run: npm run perf:diff
2828
- name: Archive npm failure logs
29-
uses: actions/upload-artifact@v3
29+
uses: actions/upload-artifact@v4
3030
if: failure()
3131
with:
3232
name: npm-logs

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
npx semantic-release --dry-run
2727
fi
2828
- name: Archive npm failure logs
29-
uses: actions/upload-artifact@v3
29+
uses: actions/upload-artifact@v4
3030
if: failure()
3131
with:
3232
name: npm-logs

.github/workflows/test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ jobs:
3434
- name: Install dependencies
3535
run: npm ci
3636
- name: Download artifacts
37-
uses: actions/download-artifact@v3
37+
uses: actions/download-artifact@v4
3838
with:
3939
name: dist-${{ matrix.os }}
4040
path: dist
4141
- name: Run Test
4242
run: TZ=${{ matrix.timezone }} npm test
4343
- name: Archive npm failure logs
44-
uses: actions/upload-artifact@v3
44+
uses: actions/upload-artifact@v4
4545
if: failure()
4646
with:
47-
name: npm-logs
47+
name: test-npm-logs-${{ matrix.os }}-${{ matrix.timezone }}-${{ matrix.node-version }}
4848
path: ~/.npm/_logs
4949
demo:
5050
name: Demo Check
@@ -59,15 +59,15 @@ jobs:
5959
with:
6060
node-version: 22
6161
- name: Download artifacts
62-
uses: actions/download-artifact@v3
62+
uses: actions/download-artifact@v4
6363
with:
6464
name: dist-ubuntu-latest
6565
path: dist
6666
- name: Run Demo Test
6767
run: npm run test:demo
6868
- name: Archive npm failure logs
69-
uses: actions/upload-artifact@v3
69+
uses: actions/upload-artifact@v4
7070
if: failure()
7171
with:
72-
name: npm-logs
72+
name: demo-npm-logs
7373
path: ~/.npm/_logs

0 commit comments

Comments
 (0)