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