File tree 4 files changed +1501
-1192
lines changed
4 files changed +1501
-1192
lines changed Original file line number Diff line number Diff line change 6
6
release :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v2
10
- - uses : actions/setup-python@v2
9
+ - uses : actions/checkout@v4
10
+ - run : pipx install poetry
11
+ - uses : actions/setup-python@v5
11
12
with :
12
- python-version : ' 3.10 '
13
- - run : pip install poetry
13
+ cache : poetry
14
+ python-version : 3.11
14
15
- run : poetry install
16
+ - uses : tschm/token-mint-action@v1.0.3
17
+ id : mint
15
18
- run : poetry publish --build -u __token__ -p $PYPI_TOKEN
16
19
env :
17
- PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
20
+ PYPI_TOKEN : ${{ steps.mint.outputs.api-token }}
18
21
- run : poetry run poe document
19
22
- uses : peaceiris/actions-gh-pages@v3
20
23
with :
21
- github_token : ${{ secrets.GITHUB_TOKEN }}
24
+ github_token : ${{ github.token }}
22
25
publish_dir : ./documentation/module/_build/html
23
26
publish_branch : documentation
24
27
force_orphan : true
Original file line number Diff line number Diff line change @@ -15,16 +15,11 @@ jobs:
15
15
- test
16
16
- coverage
17
17
steps :
18
- - uses : actions/checkout@v2
19
- - uses : actions/setup-python@v2
18
+ - run : pipx install poetry
19
+ - uses : actions/checkout@v4
20
+ - uses : actions/setup-python@v5
20
21
with :
21
- python-version : ' 3.10'
22
- - uses : actions/cache@v2
23
- id : cache
24
- with :
25
- path : ~/.cache/pypoetry/virtualenvs
26
- key : ${{ hashFiles('poetry.lock') }}
27
- - run : pip install poetry
22
+ cache : poetry
23
+ python-version : 3.11
28
24
- run : poetry install
29
- if : steps.cache.outputs.cache-hit != 'true'
30
25
- run : poetry run poe ${{ matrix.action }}
You can’t perform that action at this time.
0 commit comments