Skip to content

Lightpanda: the headless browser designed for AI and automation

ci: mark release as latest for tag only

Pierre Tachoirefee910239111
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4d0790698..995ec0f3b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -91,7 +91,7 @@ jobs:
allowUpdates: true
artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }},lightpanda-${{ env.ARCH }}-${{ env.OS }}.debug
tag: ${{ env.RELEASE }}
- makeLatest: true
+ makeLatest: ${{ github.ref_type == 'tag' }}
- name: Share binary with packaging jobs
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
@@ -151,7 +151,7 @@ jobs:
allowUpdates: true
artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
tag: ${{ env.RELEASE }}
- makeLatest: true
+ makeLatest: ${{ github.ref_type == 'tag' }}
package-debian:
if: github.ref_type == 'tag'