File tree Expand file tree Collapse file tree 4 files changed +1501
-1192
lines changed Expand file tree Collapse file tree 4 files changed +1501
-1192
lines changed Original file line number Diff line number Diff line change 66 release :
77 runs-on : ubuntu-latest
88 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
1112 with :
12- python-version : ' 3.10 '
13- - run : pip install poetry
13+ cache : poetry
14+ python-version : 3.11
1415 - run : poetry install
16+ 17+ id : mint
1518 - run : poetry publish --build -u __token__ -p $PYPI_TOKEN
1619 env :
17- PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
20+ PYPI_TOKEN : ${{ steps.mint.outputs.api-token }}
1821 - run : poetry run poe document
1922 - uses : peaceiris/actions-gh-pages@v3
2023 with :
21- github_token : ${{ secrets.GITHUB_TOKEN }}
24+ github_token : ${{ github.token }}
2225 publish_dir : ./documentation/module/_build/html
2326 publish_branch : documentation
2427 force_orphan : true
Original file line number Diff line number Diff line change @@ -15,16 +15,11 @@ jobs:
1515 - test
1616 - coverage
1717 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
2021 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
2824 - run : poetry install
29- if : steps.cache.outputs.cache-hit != 'true'
3025 - run : poetry run poe ${{ matrix.action }}
You can’t perform that action at this time.
0 commit comments