-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (42 loc) · 1003 Bytes
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
name: On Release
on:
release:
types:
- released
jobs:
Check:
name: Check and Lint
uses: ./.github/workflows/mypy.yml
Test:
name: Test
needs:
- Check
if: needs.Check.result == 'success'
uses: ./.github/workflows/tests.yml
secrets:
GOOGLE_CLIENT_KEY: ${{ secrets.GOOGLE_CLIENT_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Release_Check:
name: Check Release
needs:
- Test
if: needs.Test.result == 'success'
uses: ./.github/workflows/release_check.yml
secrets:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
Release:
name: Release
needs:
- Release_Check
if: needs.Release_Check.result == 'success'
uses: ./.github/workflows/release_steps.yml
secrets:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Docs:
name: Deploy Docs
needs:
- Release
if: needs.Release.result == 'success'
uses: ./.github/workflows/gh-pages.yml