Update workflow dependencies (#1504)

* Update workflow dependencies

ubuntu-latest vm has been updated from 20.04 to 22.04.
To avoid sudden issues, use 22.04 explicitly.
CMake doesn't need to be updated on 22.04, but ninja must be installed separately in the simulator workflow.
actions/checkout@v2 uses deprecated Node.js 12.
Update to v3 which uses 16
This commit is contained in:
Riku Isokoski 2023-01-12 22:04:25 +02:00 committed by GitHub
parent 3c9b3435a5
commit 7508dd74ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -14,7 +14,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
USERNAME: infinitime
steps:

View File

@ -59,22 +59,23 @@ jobs:
path: ./build/output/infinitime-resources-*.zip
build-simulator:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Install cmake
uses: lukka/get-cmake@v3.18.3
- name: Install SDL2 development package
run: |
sudo apt-get update
sudo apt-get -y install libsdl2-dev
- name: Install Ninja
run: |
sudo apt-get -y install ninja-build
- name: Install lv_font_conv
run:
npm i -g lv_font_conv@1.5.2
- name: Checkout source files
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive