Merge PR #468 - fix github ci

Bump GitHub's checkout action to v4, fixing the continuous integration.

GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/468
This commit is contained in:
Matheus Afonso Martins Moreira 2024-09-08 15:22:50 -03:00
commit 0f6f79a85a

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