From 2eb1ea398ff037fae3b3a6eb0e7e25fc70dc3bc5 Mon Sep 17 00:00:00 2001 From: sammyette Date: Sun, 21 Jul 2024 12:24:10 -0400 Subject: [PATCH] ci: add midnight edition on build name --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d8d8df..d0b59b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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'