From 983605a5f7a47691014de6261b9919b1138a592e Mon Sep 17 00:00:00 2001 From: sammyette Date: Sun, 21 Jul 2024 12:18:37 -0400 Subject: [PATCH] ci: make builds between midnight and standard more distinct --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efb2fa1..8d8d8df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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