diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 402b586..cab638d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,14 +68,14 @@ jobs: build-publish-testpypi: runs-on: ubuntu-latest - needs: build-test + needs: build-distribution environment: name: pypi-test url: https://pypi.org/project/p{{ github.event.repository.name }} permissions: id-token: write # if: startsWith(github.ref, 'refs/tags/') - if: startsWith(github.ref, 'refs/heads/main') + # if: startsWith(github.ref, 'refs/heads/main') steps: - name: Download all the dists uses: actions/download-artifact@v4 @@ -93,14 +93,14 @@ jobs: build-publish-pypi: runs-on: ubuntu-latest - needs: build-publish-testpypi + needs: [ build-distribution, build-publish-testpypi ] environment: name: pypi url: https://pypi.org/project/p{{ github.event.repository.name }} permissions: id-token: write # if: startsWith(github.ref, 'refs/tags/') - if: startsWith(github.ref, 'refs/heads/main') + # if: startsWith(github.ref, 'refs/heads/main') steps: - name: Download all the dists uses: actions/download-artifact@v4