File tree Expand file tree Collapse file tree 1 file changed +15
-24
lines changed
Expand file tree Collapse file tree 1 file changed +15
-24
lines changed Original file line number Diff line number Diff line change 44 types : [published]
55
66jobs :
7- release :
8- runs-on : ubuntu-latest
9- steps :
10- - uses : actions/checkout@v2
11- - name : Set up Python 3.9
12- uses : actions/setup-python@v2
13- with :
14- python-version : " 3.9"
15- - name : Install poetry ${{ matrix.poetry-version }}
16- env :
17- ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
18- run : |
19- python -m ensurepip
20- python -m pip install --upgrade pip
21- python -m pip install poetry==1.3.2
22- - name : View poetry --help
23- run : poetry --help
24- - name : Install dependencies
25- shell : bash
26- run : python -m poetry install
27- - name : Build package
28- run : python3 -m poetry build
29- - name : Publish Package
30- run : python3 -m poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v4
11+ - name : Install poetry
12+ run : pipx install poetry
13+ - uses : actions/setup-python@v5
14+ with :
15+ python-version : ' 3.13'
16+ cache : ' poetry'
17+ - run : poetry install --with dev
18+ - name : Build package
19+ run : poetry build
20+ - name : Publish Package
21+ run : poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments