Skip to content

Commit a13cae0

Browse files
committed
ci: update artifact actions and add retention policy
1 parent a599b68 commit a13cae0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ jobs:
3434
- run: npm run build
3535

3636
- name: Upload production-ready build files
37-
uses: actions/upload-artifact@v3
37+
uses: actions/upload-artifact@v4
3838
with:
3939
name: production-files
4040
path: ./dist
41+
retention-days: 1
4142

4243
deploy:
4344
name: Deploy
@@ -47,7 +48,7 @@ jobs:
4748

4849
steps:
4950
- name: Download artifact
50-
uses: actions/download-artifact@v3
51+
uses: actions/download-artifact@v4
5152
with:
5253
name: production-files
5354
path: ./dist

0 commit comments

Comments
 (0)