Skip to content

Commit

Permalink
Updated cd_release.yml for publishing to PyPI using OIDC (#921)
Browse files Browse the repository at this point in the history
Updated cd_release.yml for publishing to PyPI using OIDC.
  • Loading branch information
jesper-friis authored Aug 13, 2024
1 parent 2fd59e3 commit cc0a9ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ jobs:
- name: Retrieve wheels and sdist
uses: actions/download-artifact@v4
with:
path: dist
name: python-package-distributions
path: dist/

- name: Move sdists and wheels to dist and remove all directories
run: |
Expand All @@ -256,6 +257,3 @@ jobs:

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit cc0a9ce

Please sign in to comment.