Merge pull request #468 from theAlexes/theAlexes/ci-fix

bump to the newer upload-artifact github action
This commit is contained in:
atax1a 2024-09-04 20:22:26 +00:00 committed by GitHub
commit b69cd117f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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