ci: make builds between midnight and standard more distinct

pull/314/merge^2
sammyette 2024-07-21 12:18:37 -04:00
parent 29ac92dc0b
commit 983605a5f7
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 3 additions and 3 deletions

View File

@ -33,12 +33,12 @@ jobs:
go-version: '1.22.2'
- name: Download Task
run: 'sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d'
- name: Build
- name: Build ${{ matrix.midnight == 'true' && ' (Midnight Edition)' || ''}}
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} ./bin/task ${{ matrix.midnight == 'true' && 'midnight' || ''}}
- uses: actions/upload-artifact@v4
if: matrix.goos == 'windows'
with:
name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
name: hilbish${{ matrix.midnight == 'true' && '-midnight-edition' || ''}}-${{ matrix.goos }}-${{ matrix.goarch }}
path: |
hilbish.exe
LICENSE
@ -52,7 +52,7 @@ jobs:
- uses: actions/upload-artifact@v4
if: matrix.goos != 'windows'
with:
name: hilbish-${{ matrix.goos }}-${{ matrix.goarch }}
name: hilbish${{ matrix.midnight == 'true' && '-midnight-edition' || ''}}-${{ matrix.goos }}-${{ matrix.goarch }}
path: |
hilbish
LICENSE