File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,17 +9,18 @@ defaults:
99 run :
1010 shell : bash
1111
12+ permissions :
13+ contents : write
14+ issues : write
15+ id-token : write
16+
1217jobs :
1318 publish :
1419 runs-on : ubuntu-latest
1520 timeout-minutes : 2
1621 environment :
1722 name : pypi
1823 url : https://pypi.org/p/affixapi
19- permissions :
20- contents : write
21- issues : write
22- id-token : write
2324
2425 steps :
2526 - uses : actions/checkout@v4
3031
3132 - name : prepare python-sdk
3233 run : |
34+ sed -i 's/ = "openapi-client"/= "affixapi"/g' setup.py # for some reason the generator uses "openapi-client" as the package name
3335 python3 -m pip install --upgrade build
3436 python3 -m build
3537
4345
4446 - name : Publish package distributions to PyPI
4547 uses : pypa/gh-action-pypi-publish@release/v1
46- with :
47- verbose : true
You can’t perform that action at this time.
0 commit comments