-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kairvee Vaswani <[email protected]>
- Loading branch information
1 parent
5834e50
commit 330cb5b
Showing
4 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Nightly Build and Release | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Runs every night at midnight UTC | ||
workflow_dispatch: # Allows manual trigger | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/build.yaml # Calls the existing build workflow | ||
|
||
release: | ||
uses: ./.github/workflows/release.yaml # Calls the existing release workflow | ||
needs: build # Ensures build completes first | ||
|
||
notify: | ||
if: failure() # Runs only if any job fails | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Print Failure Message | ||
run: echo "🚨 Nightly build failed!" |
Empty file.
Empty file.
Empty file.