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
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
goos: [linux, windows]
|
goos: [windows]
|
||||||
goarch: [amd64]
|
goarch: [amd64]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install dependencies
|
- 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
|
- name: Set VERSION env
|
||||||
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
|
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
|
||||||
- name: Set GO_ENABLED env
|
- name: Set GO_ENABLED env
|
||||||
|
|
Loading…
Reference in New Issue
Block a user