Skip to content

Commit 3b8feee

Browse files
committed
github/workflows/release: update actions versions
Also simplify use of poetry.
1 parent ed6392b commit 3b8feee

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,10 @@ on:
66

77
jobs:
88
build_and_publish:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-python@v2
13-
with:
14-
python-version: 3.8
15-
- uses: abatilo/[email protected]
16-
with:
17-
poetry-version: 1.1.6
18-
- run: poetry install
19-
- run: poetry build
20-
- run: poetry publish
11+
- uses: actions/checkout@v3
12+
- run: pipx run poetry build
13+
- run: pipx run poetry publish
2114
env:
2215
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)