Skip to content

Commit 425d14e

Browse files
committed
fix: dependency package for win build
1 parent 1575047 commit 425d14e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
goos: [linux, windows]
11+
goos: [windows]
1212
goarch: [amd64]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Install dependencies
16-
run: sudo apt-get install build-essential mingw-w64
16+
run: sudo apt-get install build-essential
17+
- name: Install windows dependencies
18+
if: ${{ matrix.goos == 'windows'}}
19+
run: sudo apt-get install gcc-mingw-w64
1720
- name: Set VERSION env
1821
run: echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
1922
- name: Set GO_ENABLED env

0 commit comments

Comments
 (0)