We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dbbd01 commit 2a30301Copy full SHA for 2a30301
.github/workflows/python-publish.yml
@@ -22,21 +22,23 @@ jobs:
22
steps:
23
- uses: actions/checkout@v4
24
25
- - name: Setup Poetry
26
- uses: snok/install-poetry@v1
+ - name: Set up Python 3.10
+ uses: actions/setup-python@v4
27
with:
28
- version: "1.8.4"
+ python-version: '3.10'
29
+
30
+ - name: Install Poetry
31
+ uses: snok/[email protected]
32
+ env:
33
+ ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
34
35
+ - name: Get release version
36
+ run: echo "RELEASE_VERSION=$(poetry version | awk '{print $2}')" >> $GITHUB_ENV
37
38
- name: Build release distributions
39
run: |
40
poetry build
41
- - name: Upload distributions
- uses: actions/upload-artifact@v4
- with:
- name: release-dists
- path: dist/
-
42
pypi-publish:
43
runs-on: ubuntu-latest
44
needs:
0 commit comments