Skip to content

Commit

Permalink
install linux deps in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Parth576 committed Sep 19, 2021
1 parent 4371580 commit 34038a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: '1.16'
- name: Install linux dependencies
run: sudo apt install libasound2-dev
- name: Build binaries
run: |
env GOOS=linux GOARCH=amd64 go build github.com/Parth576/ytplay
env GOOS=windows GOARCH=amd64 go build github.com/Parth576/ytplay
env GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build github.com/Parth576/ytplay
env GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build github.com/Parth576/ytplay
- name: Create a new release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 34038a7

Please sign in to comment.