mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 03:01:51 +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:
|
env:
|
||||||
COLOR: BLUE
|
COLOR: BLUE
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/armmbed/mbed-os-env:latest
|
image: ghcr.io/armmbed/mbed-os-env:latest
|
||||||
|
@ -29,7 +29,7 @@ jobs:
|
||||||
run: make
|
run: make
|
||||||
working-directory: 'movement/make'
|
working-directory: 'movement/make'
|
||||||
- name: Upload UF2
|
- name: Upload UF2
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: watch.uf2
|
name: watch.uf2
|
||||||
path: movement/make/build/watch.uf2
|
path: movement/make/build/watch.uf2
|
||||||
|
@ -52,7 +52,7 @@ jobs:
|
||||||
cp watch.html index.html
|
cp watch.html index.html
|
||||||
tar -czf simulator.tar.gz index.html watch.wasm watch.js
|
tar -czf simulator.tar.gz index.html watch.wasm watch.js
|
||||||
- name: Upload simulator build
|
- name: Upload simulator build
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: simulator.tar.gz
|
name: simulator.tar.gz
|
||||||
path: movement/make/build-sim/simulator.tar.gz
|
path: movement/make/build-sim/simulator.tar.gz
|
||||||
|
|
Loading…
Reference in a new issue