Skip to content

Commit 892237f

Browse files
authored
ci: revert to og version of release workflow
since playing w permissions is not helping
1 parent 23fc543 commit 892237f

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ jobs:
1010
release:
1111
name: Release
1212
runs-on: ubuntu-latest
13-
permissions:
14-
contents: write
15-
pull-requests: write
1613
outputs:
1714
release_created: ${{ steps.release.outputs.release_created }}
1815
steps:
@@ -77,11 +74,11 @@ jobs:
7774
merge-multiple: true
7875
path: dist
7976

80-
# - name: Publish package on TestPyPI
81-
# uses: pypa/gh-action-pypi-publish@release/v1
82-
# if: github.ref != 'refs/heads/main'
83-
# with:
84-
# repository-url: https://test.pypi.org/legacy/
77+
- name: Publish package on TestPyPI
78+
uses: pypa/gh-action-pypi-publish@release/v1
79+
if: github.ref != 'refs/heads/main'
80+
with:
81+
repository-url: https://test.pypi.org/legacy/
8582

8683
- name: Publish package on PyPI
8784
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)