Skip to content

Commit

Permalink
Change linux release runner to use ubuntu-18.04 (#561)
Browse files Browse the repository at this point in the history
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: JohnnyMorganz/StyLua#444
JohnnyMorganz/StyLua#445
  • Loading branch information
JohnnyMorganz committed Jun 26, 2022
1 parent 2e672ba commit f9b7774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -150,4 +150,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ env.BIN }}-${{ env.PROJECT_VERSION }}-${{ matrix.label }}.zip
path: release.zip
path: release.zip

0 comments on commit f9b7774

Please sign in to comment.