From 7cd87bfe057140b80ad6a16c98c054489edc8c6c Mon Sep 17 00:00:00 2001 From: Samir Talwar Date: Thu, 21 Mar 2024 10:09:17 +0100 Subject: [PATCH] Build the CLI on Ubuntu 20.04. Downgrading Ubuntu from "latest" (22.04) to 20.04 means that it will also be supported on that version and all subsequent versions. Currently it fails to start on Ubuntu 20.04 because the version of glibc linked against is too new. --- .github/workflows/ship.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ship.yaml b/.github/workflows/ship.yaml index 5a95d8bfe..35b7ef5f5 100644 --- a/.github/workflows/ship.yaml +++ b/.github/workflows/ship.yaml @@ -118,9 +118,9 @@ jobs: strategy: matrix: include: - - runner: ubuntu-latest + - runner: ubuntu-20.04 target: x86_64-unknown-linux-gnu - - runner: ubuntu-latest + - runner: ubuntu-20.04 target: aarch64-unknown-linux-gnu linux-packages: gcc-aarch64-linux-gnu linker: /usr/bin/aarch64-linux-gnu-gcc @@ -161,7 +161,7 @@ jobs: - uses: Swatinem/rust-cache@v2 with: - shared-key: "build" # share the cache across jobs + shared-key: "build-${matrix.runner}" # share the cache across jobs - name: build the CLI run: |