Skip to content

Commit

Permalink
👷 misc(CD): stop trying to upload binaries to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Nov 22, 2024
1 parent d1d001c commit b08a6c5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,20 +180,21 @@ jobs:
uses: actions/download-artifact@v4
with:
pattern: shuku-*-dist
path: dist
path: wheels
merge-multiple: true

- name: Publish to PyPI/TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: ${{ needs.check-prerelease.outputs.is_prerelease == 'true' && 'https://test.pypi.org/legacy/' || '' }}
packages-dir: wheels

- name: Download release artifacts
uses: actions/download-artifact@v4
with:
name: shuku-release-artifacts
path: dist

- name: Publish to PyPI/TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: ${{ needs.check-prerelease.outputs.is_prerelease == 'true' && 'https://test.pypi.org/legacy/' || '' }}

- name: Create GitHub release
env:
PRERELEASE_FLAG: ${{ needs.check-prerelease.outputs.is_prerelease == 'true' && '--prerelease' || '' }}
Expand Down

0 comments on commit b08a6c5

Please sign in to comment.