mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 14:33:47 +00:00
Merge pull request #1336 from lightpanda-io/nightly-build-tags
ci: handle release tags and nightly builds
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -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' }}
|
||||
|
||||
Reference in New Issue
Block a user