Skip to content

Commit

Permalink
Try to fix release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Nov 15, 2024
1 parent aab23ff commit fa50b6b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ jobs:
release:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pymatgen
permissions:
# For PyPI trusted publishing
id-token: write
Expand All @@ -87,7 +90,3 @@ jobs:
with:
skip-existing: true
verbose: true
repository-url: >
${{ github.event_name == 'workflow_dispatch' &&
github.event.inputs.task == 'test-release' &&
'https://test.pypi.org/legacy/' || '' }}

0 comments on commit fa50b6b

Please sign in to comment.