Skip to content

Commit 6977700

Browse files
author
matmoncon
committed
ci: Update release workflow
1 parent 5fee870 commit 6977700

File tree

3 files changed

+5
-808
lines changed

3 files changed

+5
-808
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ jobs:
121121
github.ref == 'refs/heads/main' &&
122122
!contains ( github.event.head_commit.message, 'chore(release)' )
123123
concurrency: release
124+
environment:
125+
name: testpypi
126+
url: https://test.pypi.org/p/pyneo4j-ogm
124127
permissions:
125128
id-token: write
126129
contents: write
@@ -137,11 +140,6 @@ jobs:
137140
github_token: ${{ secrets.GITHUB_TOKEN }}
138141

139142
- name: Publish package distributions to PyPI
140-
id: pypi-publish
141-
142-
if: steps.release.outputs.released == 'true'
143143
uses: pypa/gh-action-pypi-publish@release/v1
144144
with:
145-
verbose: true
146-
user: ${{ secrets.PYPI_USERNAME }}
147-
password: ${{ secrets.PYPI_PASSWORD }}
145+
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)