ci: try to fix tag

This commit is contained in:
Pierre Tachoire
2026-01-07 20:32:53 +01:00
parent 1d0f38b29f
commit b79193f621

View File

@@ -5,6 +5,7 @@ env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.NIGHTLY_BUILD_AWS_SECRET_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.NIGHTLY_BUILD_AWS_SECRET_ACCESS_KEY }}
AWS_BUCKET: ${{ vars.NIGHTLY_BUILD_AWS_BUCKET }} AWS_BUCKET: ${{ vars.NIGHTLY_BUILD_AWS_BUCKET }}
AWS_REGION: ${{ vars.NIGHTLY_BUILD_AWS_REGION }} AWS_REGION: ${{ vars.NIGHTLY_BUILD_AWS_REGION }}
RELEASE: ${{ github.ref_type == 'tag' && github.ref_name || 'nightly' }}
on: on:
push: push:
@@ -55,7 +56,7 @@ jobs:
with: with:
allowUpdates: true allowUpdates: true
artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
tag: ${{ github.ref_type == 'tag' && '' || 'nightly' }} tag: ${{ env.RELEASE }}
build-linux-aarch64: build-linux-aarch64:
env: env:
@@ -93,7 +94,7 @@ jobs:
with: with:
allowUpdates: true allowUpdates: true
artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
tag: ${{ github.ref_type == 'tag' && '' || 'nightly' }} tag: ${{ env.RELEASE }}
build-macos-aarch64: build-macos-aarch64:
env: env:
@@ -133,7 +134,7 @@ jobs:
with: with:
allowUpdates: true allowUpdates: true
artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
tag: ${{ github.ref_type == 'tag' && '' || 'nightly' }} tag: ${{ env.RELEASE }}
build-macos-x86_64: build-macos-x86_64:
env: env:
@@ -171,4 +172,4 @@ jobs:
with: with:
allowUpdates: true allowUpdates: true
artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }} artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
tag: ${{ github.ref_type == 'tag' && '' || 'nightly' }} tag: ${{ env.RELEASE }}