Skip to content

Commit c022f0d

Browse files
bugfix release action
1 parent 95bf78b commit c022f0d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
permissions:
99
contents: write
10-
id-token: write
10+
id-token: none
1111
packages: write
1212

1313
jobs:
@@ -47,9 +47,9 @@ jobs:
4747
uses: pypa/[email protected]
4848
with:
4949
repository-url: https://test.pypi.org/legacy/
50+
username: __token__
51+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
5052
verbose: true
51-
env:
52-
PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
5353

5454
publish-pypi:
5555
name: Publish to PyPI
@@ -64,9 +64,9 @@ jobs:
6464
- name: Publish to PyPI
6565
uses: pypa/[email protected]
6666
with:
67+
username: __token__
68+
password: ${{ secrets.PYPI_API_TOKEN }}
6769
verbose: true
68-
env:
69-
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
7070

7171
github-release:
7272
name: Create GitHub Release

0 commit comments

Comments
 (0)