From cc0a9ce82eb24021093db805fde9543f6acffea5 Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Tue, 13 Aug 2024 15:45:46 +0200 Subject: [PATCH] Updated cd_release.yml for publishing to PyPI using OIDC (#921) Updated cd_release.yml for publishing to PyPI using OIDC. --- .github/workflows/cd_release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd_release.yml b/.github/workflows/cd_release.yml index 65e92ac7c..d8b399477 100644 --- a/.github/workflows/cd_release.yml +++ b/.github/workflows/cd_release.yml @@ -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: | @@ -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 }}