fix: dependency package for win build
This commit is contained in:
parent
1575047197
commit
425d14e3af
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
|
@ -8,12 +8,15 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
goos: [linux, windows]
|
||||
goos: [windows]
|
||||
goarch: [amd64]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get install build-essential mingw-w64
|
||||
run: sudo apt-get install build-essential
|
||||
- name: Install windows dependencies
|
||||
if: ${{ matrix.goos == 'windows'}}
|
||||
run: sudo apt-get install gcc-mingw-w64
|
||||
- name: Set VERSION env
|
||||
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
|
||||
- name: Set GO_ENABLED env
|
||||
|
|
Loading…
Reference in New Issue
Block a user