File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 9
9
matrix :
10
10
os : [ubuntu-20.04]
11
11
python-version : ['3.11']
12
- poetry-version : ['1.2.2']
13
- pip-version : ['20.3']
14
12
steps :
15
13
- uses : actions/checkout@v2
16
14
- name : Setup, Python ${{ matrix.python-version }}
23
21
PYPI_USERNAME : ${{ secrets.PYPI_USERNAME }}
24
22
PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
25
23
run : |
26
- # Set up Python
27
- python -m pip install --upgrade pip==${{ matrix.pip-version }}
28
- # Set up Poetry
29
- curl -sSL https://install.python-poetry.org > get-poetry.py
30
- python get-poetry.py
31
- rm get-poetry.py
32
- source "$HOME/.poetry/env"
33
- poetry self update ${{ matrix.poetry-version }}
34
- # Release with Poetry
24
+ python -m pip install -U pip
25
+ python -m pip install wheel
26
+ python -m pip install poetry
35
27
poetry build
36
28
poetry publish --username="$PYPI_USERNAME" --password="$PYPI_PASSWORD"
You can’t perform that action at this time.
0 commit comments