Skip to content

Commit

Permalink
Merge pull request #407 from dougiesquire/issue-398-hotfix
Browse files Browse the repository at this point in the history
Fix PyPI upload
  • Loading branch information
dougiesquire authored Jan 22, 2024
2 parents 84f336a + e606ef8 commit 36294ff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
- run: |
python3 -m pip install --upgrade build && python3 -m build
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./dist
name: release
path: dist

pypi-publish:
# Split build and publish to restrict trusted publishing to just this workflow
Expand All @@ -36,14 +37,13 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: artifact/
name: release
path: dist

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf # v1.8.11
with:
packages-dir: artifact/

conda:
name: Build with conda and upload
Expand Down

0 comments on commit 36294ff

Please sign in to comment.