Skip to content

Commit f4dd1b7

Browse files
ci: add linux back
1 parent eb2afc5 commit f4dd1b7

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/release.yml

+1-13
Original file line numberDiff line numberDiff line change
@@ -48,28 +48,16 @@ jobs:
4848
echo "::set-output name=goversion::https://go.dev/dl/go1.22.0.darwin-amd64.pkg"
4949
fi
5050
51-
# set_env:
52-
# runs-on: ubuntu-latest
53-
# steps:
54-
# - name: Set CGO_ENABLED
55-
# run: |
56-
# echo "CGO_ENABLED=1" >> $GITHUB_ENV
57-
5851
release:
5952
runs-on: ubuntu-latest
6053
strategy:
6154
matrix:
6255
# build and publish in parallel: linux/amd64, linux/arm64, darwin/amd64, darwin/arm64
63-
goos: [darwin]
56+
goos: [darwin, linux]
6457
goarch: [amd64, arm64]
6558

6659
steps:
6760
- uses: actions/checkout@v4
68-
- name: Get libasound2
69-
run: |
70-
if [ "${{ matrix.goos }}" = "linux" ]; then
71-
sudo apt-get install libasound2-dev
72-
fi
7361
- uses: wangyoucao577/go-release-action@v1
7462
with:
7563
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)