Skip to content

Commit 8f71df9

Browse files
committed
Further simplify the release script
1 parent d7a1d1e commit 8f71df9

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ jobs:
99
matrix:
1010
os: [ubuntu-20.04]
1111
python-version: ['3.11']
12-
poetry-version: ['1.2.2']
13-
pip-version: ['20.3']
1412
steps:
1513
- uses: actions/checkout@v2
1614
- name: Setup, Python ${{ matrix.python-version }}
@@ -23,14 +21,8 @@ jobs:
2321
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
2422
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2523
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
3527
poetry build
3628
poetry publish --username="$PYPI_USERNAME" --password="$PYPI_PASSWORD"

0 commit comments

Comments
 (0)