diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2311da1..66b65d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,9 +27,14 @@ jobs: with: go-version: '1.17.7' - name: Build - run: GOOS=${{ matrix.goos}} GOARCH=${{ matrix.goarch }} go build + run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build - uses: actions/upload-artifact@v2 + if: matrix.goos == 'windows' + with: + name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }} + path: hilbish.exe + - uses: actions/upload-artifact@v2 + if: matrix.goos != 'windows' with: name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }} path: hilbish -