Skip to content

Commit be8936f

Browse files
committed
uses install poetry action to get poetry 1.8.5
1 parent d29dee6 commit be8936f

File tree

2 files changed

+19
-24
lines changed

2 files changed

+19
-24
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ jobs:
4646
target: aarch64
4747
manylinux: musllinux_1_1
4848

49-
# - os: windows
50-
# ls: dir
51-
# interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10
52-
# - os: windows
53-
# ls: dir
54-
# target: aarch64
55-
# interpreter: 3.11 3.12
56-
5749
- os: windows
5850
target: x86_64
5951
interpreter: pypy3.9 pypy3.10
@@ -65,7 +57,6 @@ jobs:
6557
target: aarch64
6658
interpreter: 3.11 3.12 3.13
6759

68-
6960
- os: macos
7061
target: x86_64
7162
- os: macos
@@ -149,16 +140,16 @@ jobs:
149140
[[ "${GITHUB_REF#refs/tags/}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] \
150141
|| echo ::set-output name=prerelease::true
151142
152-
# - name: Create Release
153-
# uses: ncipollo/release-action@v1
154-
# with:
155-
# artifacts: "dist/*"
156-
# token: ${{ secrets.GITHUB_TOKEN }}
157-
# draft: false
158-
# prerelease: steps.check-version.outputs.prerelease == 'true'
159-
160-
# - name: Publish to PyPI
161-
# env:
162-
# POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
163-
# run: |
164-
# poetry publish
143+
- name: Create Release
144+
uses: ncipollo/release-action@v1
145+
with:
146+
artifacts: "dist/*"
147+
token: ${{ secrets.GITHUB_TOKEN }}
148+
draft: false
149+
prerelease: steps.check-version.outputs.prerelease == 'true'
150+
151+
- name: Publish to PyPI
152+
env:
153+
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
154+
run: |
155+
poetry publish

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,12 @@ jobs:
5353
echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
5454
5555
- name: Install poetry
56-
run: |
57-
curl -fsS https://install.python-poetry.org | python - --preview -y
56+
uses: snok/install-poetry@v1
57+
with:
58+
virtualenvs-create: true
59+
virtualenvs-in-project: true
60+
installer-parallel: true
61+
version: 1.8.5
5862

5963
- name: Update PATH
6064
if: ${{ matrix.os != 'Windows' }}

0 commit comments

Comments
 (0)