From f9f7f64497ccc86161cb28cab60c2d99ee0b9ce8 Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Thu, 6 Nov 2025 07:07:35 -0600 Subject: [PATCH 1/2] minor debugging for publishing --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f469f4ac12..e05fa4315e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ jobs: outputs: pypi_env: ${{ github.event_name == 'push' && 'pypi' || 'test-pypi' }} pypi_url: ${{ github.event_name == 'push' && 'https://upload.pypi.org/legacy/' || 'https://test.pypi.org/legacy/' }} + pypi_dups: ${{ github.event_name == 'push' && 'true' || 'false' }} steps: - name: Set publishing variables run: echo "Publishing setup complete" @@ -144,6 +145,8 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: ${{ needs.setup.outputs.pypi_url }} + skip-existing: ${{ needs.setup.outputs.pypi_dups }} + print-hash: true pypi-publish-cuda: name: Upload CUDA release to PyPI @@ -165,6 +168,8 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: ${{ needs.setup.outputs.pypi_url }} + skip-existing: ${{ needs.setup.outputs.pypi_dups }} + print-hash: true pypi-publish-cpu: name: Upload CPU release to PyPI @@ -186,6 +191,8 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: ${{ needs.setup.outputs.pypi_url }} + skip-existing: ${{ needs.setup.outputs.pypi_dups }} + print-hash: true pypi-publish-metal: name: Upload Metal release to PyPI @@ -207,4 +214,5 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: ${{ needs.setup.outputs.pypi_url }} - + skip-existing: ${{ needs.setup.outputs.pypi_dups }} + print-hash: true From 88a984118009781021cbc412f3caef7f5aab2e84 Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Thu, 6 Nov 2025 09:17:19 -0600 Subject: [PATCH 2/2] fix logic --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e05fa4315e..24bd19b3b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: outputs: pypi_env: ${{ github.event_name == 'push' && 'pypi' || 'test-pypi' }} pypi_url: ${{ github.event_name == 'push' && 'https://upload.pypi.org/legacy/' || 'https://test.pypi.org/legacy/' }} - pypi_dups: ${{ github.event_name == 'push' && 'true' || 'false' }} + skip_duplicates: ${{ github.event_name == 'push' && 'false' || 'true' }} steps: - name: Set publishing variables run: echo "Publishing setup complete" @@ -145,7 +145,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: ${{ needs.setup.outputs.pypi_url }} - skip-existing: ${{ needs.setup.outputs.pypi_dups }} + skip-existing: ${{ needs.setup.outputs.skip_duplicates }} print-hash: true pypi-publish-cuda: @@ -168,7 +168,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: ${{ needs.setup.outputs.pypi_url }} - skip-existing: ${{ needs.setup.outputs.pypi_dups }} + skip-existing: ${{ needs.setup.outputs.skip_duplicates }} print-hash: true pypi-publish-cpu: @@ -191,7 +191,7 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: ${{ needs.setup.outputs.pypi_url }} - skip-existing: ${{ needs.setup.outputs.pypi_dups }} + skip-existing: ${{ needs.setup.outputs.skip_duplicates }} print-hash: true pypi-publish-metal: @@ -214,5 +214,5 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: ${{ needs.setup.outputs.pypi_url }} - skip-existing: ${{ needs.setup.outputs.pypi_dups }} + skip-existing: ${{ needs.setup.outputs.skip_duplicates }} print-hash: true