Skip to content

Commit abbb649

Browse files
committed
Meta: update upload-artifact action prior to deprecation (#3506)
See https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
1 parent 810a33f commit abbb649

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/preview-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- run: npm run build-only
2020
- run: node scripts/insert_snapshot_warning
2121
- run: echo ${{ github.event.number }} > out/pr.txt
22-
- uses: actions/upload-artifact@v3
22+
- uses: actions/upload-artifact@v4
2323
with:
2424
name: out
2525
path: out/

.github/workflows/preview.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: lts/*
2828
use-npm-ci: true
2929
- name: 'Download artifact'
30-
uses: actions/github-script@v3.1.0
30+
uses: actions/github-script@v7
3131
with:
3232
script: |
3333
const { owner, repo } = context.repo;
@@ -47,7 +47,7 @@ jobs:
4747
fs.writeFileSync('${{ github.workspace }}/out.zip', Buffer.from(download.data));
4848
- run: unzip -o out.zip -d out
4949
- name: 'debug info'
50-
uses: actions/github-script@v3.1.0
50+
uses: actions/github-script@v7
5151
with:
5252
script: |
5353
console.log(${{ toJson(github.event) }});

0 commit comments

Comments
 (0)