File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 strategy :
1010 matrix :
11- goos : [windows]
11+ goos : [linux, windows]
1212 goarch : [amd64]
1313 steps :
1414 - uses : actions/checkout@v2
1515 - name : Install dependencies
1616 run : sudo apt-get install build-essential mingw-w64
1717 - name : Set VERSION env
1818 run : echo VERSION=$(basename ${GITHUB_REF}) >> ${GITHUB_ENV}
19- - name : Set GO env
20- run : echo CGO_ENABLED=1 >> ${GITHUB_ENV} && echo CC=x86_64-w64-mingw32-gcc >> ${GITHUB_ENV}
19+ - name : Set GO_ENABLED env
20+ run : echo CGO_ENABLED=1 >> ${GITHUB_ENV}
21+ - name : Set Windows C Compiler GO env
22+ if : ${{ matrix.goos == 'windows'}}
23+ run : echo CC=x86_64-w64-mingw32-gcc >> ${GITHUB_ENV}
2124 -
uses :
wangyoucao577/[email protected] 2225 with :
2326 github_token : ${{ secrets.RELEASE_TOKEN }}
You can’t perform that action at this time.
0 commit comments