From c26938c3339ab8ce78ba5dd8ad384a38bd7d51ab Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Wed, 7 Jan 2026 18:46:26 +0100 Subject: [PATCH] handle release tags and nightly builds --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a76d9870..ed8a9612 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,9 @@ env: AWS_REGION: ${{ vars.NIGHTLY_BUILD_AWS_REGION }} on: + push: + tags: + - '*' schedule: - cron: "2 2 * * *" @@ -52,7 +55,7 @@ jobs: with: allowUpdates: true artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} - tag: nightly + tag: ${{ github.event.push.tags && github.ref_type == 'tag' && '' || 'nightly' }} build-linux-aarch64: env: @@ -90,7 +93,7 @@ jobs: with: allowUpdates: true artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} - tag: nightly + tag: ${{ github.event.push.tags && github.ref_type == 'tag' && '' || 'nightly' }} build-macos-aarch64: env: @@ -130,7 +133,7 @@ jobs: with: allowUpdates: true artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} - tag: nightly + tag: ${{ github.event.push.tags && github.ref_type == 'tag' && '' || 'nightly' }} build-macos-x86_64: env: @@ -168,4 +171,4 @@ jobs: with: allowUpdates: true artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} - tag: nightly + tag: ${{ github.event.push.tags && github.ref_type == 'tag' && '' || 'nightly' }}