From 6090bc411fc5fd01f306972debd7dfc0abd6f3b9 Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Sun, 26 Jun 2022 19:54:55 +0100 Subject: [PATCH] Change linux release runner to use `ubuntu-18.04` ubuntu-latest uses Ubuntu 20.04, this causes issues with glibc as older versions of ubuntu/other distros use an older version. This is fixed by building the release binary on `ubuntu-18.04`, which uses a version of glibc more widely available. Ref: https://github.com/JohnnyMorganz/StyLua/pull/444 https://github.com/JohnnyMorganz/StyLua/pull/445 --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05ec5bd4c..216d8cade 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,7 +67,7 @@ jobs: # -x86_64 to each release. include: - host: linux - os: ubuntu-latest + os: ubuntu-18.04 target: x86_64-unknown-linux-gnu label: linux @@ -150,4 +150,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: ${{ env.BIN }}-${{ env.PROJECT_VERSION }}-${{ matrix.label }}.zip - path: release.zip \ No newline at end of file + path: release.zip