We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a93c163 commit 93319d8Copy full SHA for 93319d8
1 file changed
.github/workflows/release.yaml
@@ -0,0 +1,30 @@
1
+name: Release
2
+on:
3
+ release:
4
+ types:
5
+ - created
6
+
7
+jobs:
8
+ publish:
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ python-version: ['3.12']
13
+ poetry-version: ['1.8.3']
14
+ os: [ubuntu-latest]
15
+ runs-on: ${{ matrix.os }}
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-python@v5
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+ - name: Run image
22
+ uses: abatilo/actions-poetry@v2
23
24
+ poetry-version: ${{ matrix.poetry-version }}
25
+ - name: Publish
26
+ env:
27
+ PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
28
+ run: |
29
+ poetry config pypi-token.pypi $PYPI_TOKEN
30
+ poetry publish --build
0 commit comments