Skip to content

Commit 8e2bd63

Browse files
committed
CI: Update runner to use ubuntu-20.04.
Signed-off-by: Damien George <[email protected]>
1 parent 8aaa36b commit 8e2bd63

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,18 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
os: [ubuntu-18.04]
13+
os: [ubuntu-20.04]
1414
fail-fast: false
1515
runs-on: ${{ matrix.os }}
1616
name: build.py ${{ matrix.os }}
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919
with:
2020
submodules: true
2121
- name: Install toolchain (Ubuntu)
2222
if: runner.os == 'Linux'
2323
run: |
24-
sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
25-
sudo apt-get update -qq
26-
sudo apt-get install -y gcc-arm-embedded
24+
sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi
2725
sudo apt-get install -y cmake
2826
- name: Check Versions
2927
run: |
@@ -35,7 +33,7 @@ jobs:
3533
cd src
3634
make -j2
3735
- name: Upload hex file
38-
uses: actions/upload-artifact@v1
36+
uses: actions/upload-artifact@v3
3937
with:
4038
name: MICROBIT-MICROPYTHON-${{ github.sha }}.hex
4139
path: src/MICROBIT.hex

0 commit comments

Comments
 (0)