Skip to content

Commit

Permalink
ci: add midnight edition on build name
Browse files Browse the repository at this point in the history
  • Loading branch information
TorchedSammy committed Jul 21, 2024
1 parent 983605a commit 2eb1ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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'
Expand Down

0 comments on commit 2eb1ea3

Please sign in to comment.