From b79193f621c6250bc492441b75bc465dc78c5e4e Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Wed, 7 Jan 2026 20:32:53 +0100 Subject: [PATCH] ci: try to fix tag --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 657fb2cd..3b33de48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ env: AWS_SECRET_ACCESS_KEY: ${{ secrets.NIGHTLY_BUILD_AWS_SECRET_ACCESS_KEY }} AWS_BUCKET: ${{ vars.NIGHTLY_BUILD_AWS_BUCKET }} AWS_REGION: ${{ vars.NIGHTLY_BUILD_AWS_REGION }} + RELEASE: ${{ github.ref_type == 'tag' && github.ref_name || 'nightly' }} on: push: @@ -55,7 +56,7 @@ jobs: with: allowUpdates: true artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} - tag: ${{ github.ref_type == 'tag' && '' || 'nightly' }} + tag: ${{ env.RELEASE }} build-linux-aarch64: env: @@ -93,7 +94,7 @@ jobs: with: allowUpdates: true artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} - tag: ${{ github.ref_type == 'tag' && '' || 'nightly' }} + tag: ${{ env.RELEASE }} build-macos-aarch64: env: @@ -133,7 +134,7 @@ jobs: with: allowUpdates: true artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} - tag: ${{ github.ref_type == 'tag' && '' || 'nightly' }} + tag: ${{ env.RELEASE }} build-macos-x86_64: env: @@ -171,4 +172,4 @@ jobs: with: allowUpdates: true artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} - tag: ${{ github.ref_type == 'tag' && '' || 'nightly' }} + tag: ${{ env.RELEASE }}