Update GitHub Artifact Actions to v4
Some checks failed
PR build / build-wasm (pull_request) Failing after 14s
PR build / build-react (pull_request) Failing after 47s
PR build / merge (pull_request) Has been skipped

This commit is contained in:
Renovate 2024-11-22 11:05:27 +00:00
parent 6af3385683
commit 0d84276c55
2 changed files with 11 additions and 11 deletions

View File

@ -25,7 +25,7 @@ jobs:
GOARCH: wasm GOARCH: wasm
- name: Upload wasm file - name: Upload wasm file
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: wasm name: wasm
path: ${{env.working_directory}}/main.wasm path: ${{env.working_directory}}/main.wasm
@ -51,7 +51,7 @@ jobs:
run: npm run build run: npm run build
- name: Upload react client - name: Upload react client
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: react-app name: react-app
path: ${{env.working_directory}}/build path: ${{env.working_directory}}/build
@ -63,19 +63,19 @@ jobs:
working_directory: "./client" working_directory: "./client"
steps: steps:
- name: Download React app - name: Download React app
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: react-app name: react-app
path: app path: app
- name: Download WASM program - name: Download WASM program
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: wasm name: wasm
path: app path: app
- name: Upload react app - name: Upload react app
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: react-app-wasm name: react-app-wasm
path: app path: app
@ -89,7 +89,7 @@ jobs:
outputs: outputs:
cid: ${{ steps.pin.outputs.cid }} cid: ${{ steps.pin.outputs.cid }}
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: react-app-wasm name: react-app-wasm
path: app path: app

View File

@ -24,7 +24,7 @@ jobs:
GOARCH: wasm GOARCH: wasm
- name: Upload wasm file - name: Upload wasm file
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: wasm name: wasm
path: ${{env.working_directory}}/main.wasm path: ${{env.working_directory}}/main.wasm
@ -50,7 +50,7 @@ jobs:
run: npm run build run: npm run build
- name: Upload react client - name: Upload react client
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: react-app name: react-app
path: ${{env.working_directory}}/build path: ${{env.working_directory}}/build
@ -62,19 +62,19 @@ jobs:
working_directory: "./client" working_directory: "./client"
steps: steps:
- name: Download React app - name: Download React app
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: react-app name: react-app
path: app path: app
- name: Download WASM program - name: Download WASM program
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: wasm name: wasm
path: app path: app
- name: Upload react app - name: Upload react app
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: react-app-wasm name: react-app-wasm
path: app path: app