fix: dependency package for win build

This commit is contained in:
Lakhan Samani 2021-09-11 11:52:52 +05:30
parent 1575047197
commit 425d14e3af

View File

@ -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