From 83cc6bb0fdf3c1f015ee734d1e8949ae9209e930 Mon Sep 17 00:00:00 2001 From: ishland Date: Sat, 12 Oct 2024 23:59:52 +0800 Subject: [PATCH] fix: the most ubuntu problem ever to have on GHA --- .github/workflows/build.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47297a641..6dec36ef0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -28,7 +28,7 @@ jobs: version: "18.1.8" - name: Install required dependencies - run: sudo apt install libtinfo5 + run: sudo apt update && sudo apt install libtinfo5 - uses: actions/cache@v4 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 722d312a5..283cbda47 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: fail-fast: false @@ -32,7 +32,7 @@ jobs: version: "18.1.8" - name: Install required dependencies - run: sudo apt install libtinfo5 + run: sudo apt update && sudo apt install libtinfo5 - uses: actions/cache@v4 with: