From e056e468d05730126b8f0b2ac0d8f7bf149becb7 Mon Sep 17 00:00:00 2001 From: Katherine Kiefer Date: Sat, 19 Aug 2023 19:13:03 +1000 Subject: [PATCH] pin ubuntu version for compat --- .github/workflows/check.yml | 2 +- .github/workflows/release.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8d2bffe6..5a744eb9 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -2,7 +2,7 @@ name: Check compile on: pull_request jobs: linux-build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55b57ac3..3ab144e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest + - os: ubuntu-20.04 target_name: i686-unknown-linux-gnu artifact_name: libauxmos.so - os: windows-latest @@ -34,14 +34,14 @@ jobs: sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install build-essential g++-multilib libc6-i386 libstdc++6:i386 - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-20.04' - name: Setup Toolchains (Ubuntu) uses: actions-rs/toolchain@v1 with: toolchain: stable target: i686-unknown-linux-gnu - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-20.04' - name: Build auxmos (Windows) uses: actions-rs/cargo@v1 @@ -57,7 +57,7 @@ jobs: toolchain: stable command: build args: --target i686-unknown-linux-gnu --release --features "generic_fire_hook katmos" - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-20.04' - name: Upload binary to release uses: svenstaro/upload-release-action@v1-release