Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Don't attempt to install musl-tools on self-hosted linux runner
  • Loading branch information
lrettig authored May 4, 2023
1 parent 1f92749 commit e50eb45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
with:
go-version: ${{ env.go-version }}
- name: Install musl
if: contains(matrix.name, 'linux')
# only run on GH-hosted runner; self-hosted runner already has the package
if: matrix.name == "linux-amd64"
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: musl-tools # provides musl-gcc
Expand Down

0 comments on commit e50eb45

Please sign in to comment.