ci: fix missing files on either oses

insensitive-tab^2
TorchedSammy 2022-05-06 19:06:06 -04:00
parent 30b07bc98b
commit d6bc8b51de
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 15 additions and 5 deletions

View File

@ -30,14 +30,24 @@ jobs:
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
if: matrix.goos == 'windows' if: matrix.goos == 'windows'
with:
name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
path: hilbish.exe
- uses: actions/upload-artifact@v2
if: matrix.goos != 'windows'
with: with:
name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }} name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
path: | path: |
hilbish.exe
LICENSE
README.md
CHANGELOG.md
.hilbishrc.lua
nature
libs
docs
emmyLuaDocs
- uses: actions/upload-artifact@v2
if: matrix.goos != 'windows'
with:
name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
path: |
hilbish
LICENSE LICENSE
README.md README.md
CHANGELOG.md CHANGELOG.md