mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-21 18:51:49 +08:00
bump to the newer upload-artifact github action
This commit is contained in:
parent
d4bd10ba5e
commit
fd526ed401
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
|||
env:
|
||||
COLOR: BLUE
|
||||
|
||||
jobs:
|
||||
jobs:
|
||||
build:
|
||||
container:
|
||||
image: ghcr.io/armmbed/mbed-os-env:latest
|
||||
|
@ -29,7 +29,7 @@ jobs:
|
|||
run: make
|
||||
working-directory: 'movement/make'
|
||||
- name: Upload UF2
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: watch.uf2
|
||||
path: movement/make/build/watch.uf2
|
||||
|
@ -52,7 +52,7 @@ jobs:
|
|||
cp watch.html index.html
|
||||
tar -czf simulator.tar.gz index.html watch.wasm watch.js
|
||||
- name: Upload simulator build
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: simulator.tar.gz
|
||||
path: movement/make/build-sim/simulator.tar.gz
|
||||
|
|
Loading…
Reference in a new issue