mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Make ci-pass
job actually fail when some required job failed
This commit is contained in:
parent
9b593ddb54
commit
0c68c78626
1 changed files with 5 additions and 1 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -35,6 +35,7 @@ jobs:
|
||||||
ci-pass:
|
ci-pass:
|
||||||
name: CI succeeded
|
name: CI succeeded
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: always()
|
||||||
|
|
||||||
needs:
|
needs:
|
||||||
- fmt
|
- fmt
|
||||||
|
@ -44,7 +45,10 @@ jobs:
|
||||||
- doc
|
- doc
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: exit 0
|
- name: Check whether the needed jobs succeeded or failed
|
||||||
|
uses: re-actors/alls-green@release/v1
|
||||||
|
with:
|
||||||
|
jobs: ${{ toJSON(needs) }}
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
name: fmt
|
name: fmt
|
||||||
|
|
Loading…
Reference in a new issue