From 96dfa96c4cc4fd8bb68c5aac5e5ed87f63d92bfe Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Thu, 12 Sep 2024 01:15:56 +0300 Subject: [PATCH] CI: Run on Ubuntu 20.04 The 18.04 runners are not available anymore as per https://github.com/actions/virtual-environments/issues/6002 so use instead the lowest available version at the moment. While at it, update to the latest version of the upload-artifact action, as v1 is deprecated; and to Python 3.7 as 3.5 is no longer available. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f24cde9..03be352 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: [push] jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: Checkout uses: actions/checkout@v2 @@ -19,7 +19,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v1 with: - python-version: 3.5 + python-version: 3.7 - name: Python Package Cache uses: actions/cache@v1 with: @@ -55,7 +55,7 @@ jobs: run: | DESTDIR="$(pwd)/_work/files" ninja -C _work/build install - name: Archive Artifacts - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: build path: _work