File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 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+ with :
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
You can’t perform that action at this time.
0 commit comments