diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 53d5f69..37bfa5a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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