2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-02 03:33:22 +00:00

ci: fix artifact upload for windows

This commit is contained in:
TorchedSammy 2022-03-02 06:42:48 -04:00
parent 284248fc08
commit b61a36d675
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

View File

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