Skip to content

Commit 1a8a51a

Browse files
committed
更新actions
1 parent c20a7a3 commit 1a8a51a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
npm ci
2525
npm run build
2626
- name: Upload Artifacts
27-
uses: actions/upload-artifact@v1
27+
uses: actions/upload-artifact@v4
2828
with:
2929
name: dist
3030
path: dist
@@ -38,12 +38,14 @@ jobs:
3838
uses: actions/checkout@v3
3939

4040
- name: Download Artifacts
41-
uses: actions/download-artifact@v1
41+
uses: actions/download-artifact@v4
4242
with:
4343
name: dist
44+
path: ./dist
4445

4546
- name: Deploy
4647
uses: JamesIves/github-pages-deploy-action@v4.3.0
4748
with:
4849
branch: gh-pages
49-
folder: 'dist'
50+
folder: 'dist'
51+
clean: true

0 commit comments

Comments
 (0)