Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Jul 11, 2022
1 parent e683911 commit 0570a69
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
needs:
- check_release
- build_release_assets
- community_notify
steps:
- run: exit 0

Expand Down Expand Up @@ -289,3 +290,36 @@ jobs:
cd ci
cargo run --bin upload-asset
community_notify:
name: CI is green
runs-on: ubuntu-latest
needs:
- build_release_assets
env:
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
TG_CHAT_IDS: ${{ secrets.TG_CHAT_IDS }}
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
DISCORD_CHAT_IDS: ${{ secrets.DISCORD_CHAT_IDS }}
steps:

- name: Cargo cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Checkout
uses: actions/checkout@v3

- run: |
cd ci
cargo run --bin upload-asset

0 comments on commit 0570a69

Please sign in to comment.