Skip to content

Commit e9ca912

Browse files
committed
chore: Upgrade actions/upload-artifact to v4 (升级依赖)
- Upgrade actions/upload-artifact to v4 (将 actions/upload-artifact 升级到 v4 版本) - Set retention-days to 5 (设置 `retention-days` 为 5 天, 用于控制 artifact 的保存时间)
1 parent e439033 commit e9ca912

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,11 @@ jobs:
8585
shell: bash
8686

8787
- name: Upload artifacts
88-
uses: actions/upload-artifact@v3
88+
uses: actions/upload-artifact@v4
8989
with:
9090
name: ${{ matrix.platform }}-release
9191
path: Flutter/json_to_dart/${{ matrix.artifact }}
92+
retention-days: 5
9293

9394
deploy_web:
9495
name: Deploy Web

0 commit comments

Comments
 (0)