forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: enable manual runs of nightly (MystenLabs#2768)
- Loading branch information
1 parent
9976889
commit c4cd1de
Showing
1 changed file
with
3 additions
and
2 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name: nightly | |
on: | ||
schedule: | ||
- cron: '0 0 * * *' # every day at midnight | ||
workflow_dispatch | ||
workflow_dispatch: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
@@ -97,9 +97,10 @@ jobs: | |
if: always() | ||
needs: [beta, release, cargo-udeps] | ||
steps: | ||
- uses: slackapi/[email protected] | ||
- uses: technote-space/workflow-conclusion-action@v3 | ||
|
||
- name: Post to slack | ||
uses: slackapi/[email protected] | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure | ||
|