Skip to content

Commit d38b159

Browse files
committed
ci: use sed
1 parent c982160 commit d38b159

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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+
1217
jobs:
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
@@ -30,6 +31,7 @@ jobs:
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
@@ -43,5 +45,3 @@ jobs:
4345

4446
- name: Publish package distributions to PyPI
4547
uses: pypa/gh-action-pypi-publish@release/v1
46-
with:
47-
verbose: true

0 commit comments

Comments
 (0)