Skip to content

Commit

Permalink
ci: fix nightly workflow (MystenLabs#2759)
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-mysten authored Jun 28, 2022
1 parent 393d212 commit 92686c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: nightly
on:
schedule:
- cron: '0 0 * * *' # every day at midnight
workflow_dispatch

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -96,9 +97,9 @@ 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]
uses: technote-space/workflow-conclusion-action@v3
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure
Expand Down

0 comments on commit 92686c5

Please sign in to comment.