Skip to content

Commit 0c3e58f

Browse files
committed
Enable nightly release of feldera.
Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
1 parent 59870e6 commit 0c3e58f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
inputs:
66
sha:
77
description: "SHA to release (a recent commit from main that hasn't been released yet)"
8+
schedule:
9+
- cron: "0 8 * * *" # Runs at 00:00 PT (08:00 UTC) daily
810

911
env:
1012
REGISTRY: ghcr.io
@@ -15,6 +17,11 @@ jobs:
1517
env:
1618
SHA_TO_RELEASE: ${{ github.event.inputs.sha || github.sha }}
1719
steps:
20+
- name: Set SHA from main branch if scheduled
21+
if: github.event_name == 'schedule'
22+
run: |
23+
echo "SHA_TO_RELEASE=$(git ls-remote origin refs/heads/main | cut -f1)" >> $GITHUB_ENV
24+
1825
- name: Checkout
1926
uses: actions/checkout@v4
2027
with:

0 commit comments

Comments
 (0)