mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-20 20:43:23 +00:00
ci: add midnight edition on build name
This commit is contained in:
parent
983605a5f7
commit
2eb1ea398f
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: ${{ matrix.goos }}-${{ matrix.goarch }}
|
||||
name: ${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.midnight == 'true' && ' (Midnight Edition)' || ''}}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
@ -33,7 +33,7 @@ jobs:
|
||||
go-version: '1.22.2'
|
||||
- name: Download Task
|
||||
run: 'sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d'
|
||||
- name: Build ${{ matrix.midnight == 'true' && ' (Midnight Edition)' || ''}}
|
||||
- name: Build
|
||||
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} ./bin/task ${{ matrix.midnight == 'true' && 'midnight' || ''}}
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: matrix.goos == 'windows'
|
||||
|
Loading…
x
Reference in New Issue
Block a user