mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 23:47:50 +08:00
ci: upgrade upload/download-artifact to v4 for Node.js 24 compatibility
This commit is contained in:
@@ -30,7 +30,7 @@ jobs:
|
|||||||
run: cd frontend/dist/ && zip -r frontend.zip * && mv frontend.zip ../
|
run: cd frontend/dist/ && zip -r frontend.zip * && mv frontend.zip ../
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: frontend
|
name: frontend
|
||||||
path: frontend/frontend.zip
|
path: frontend/frontend.zip
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
run: cd frontend/dist/ && zip -r telegram-frontend.zip * && mv telegram-frontend.zip ../
|
run: cd frontend/dist/ && zip -r telegram-frontend.zip * && mv telegram-frontend.zip ../
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: telegram-frontend
|
name: telegram-frontend
|
||||||
path: frontend/telegram-frontend.zip
|
path: frontend/telegram-frontend.zip
|
||||||
@@ -101,13 +101,13 @@ jobs:
|
|||||||
zip -r worker-with-wasm-mail-parser.zip dist/worker.js dist/*.wasm
|
zip -r worker-with-wasm-mail-parser.zip dist/worker.js dist/*.wasm
|
||||||
|
|
||||||
- name: Upload worker.js
|
- name: Upload worker.js
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: worker-js
|
name: worker-js
|
||||||
path: worker/worker.js
|
path: worker/worker.js
|
||||||
|
|
||||||
- name: Upload wasm worker
|
- name: Upload wasm worker
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: worker-wasm
|
name: worker-wasm
|
||||||
path: worker/worker-with-wasm-mail-parser.zip
|
path: worker/worker-with-wasm-mail-parser.zip
|
||||||
@@ -122,7 +122,7 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Download all artifacts
|
- name: Download all artifacts
|
||||||
uses: actions/download-artifact@v6
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user