From 05d6ee1bce047746434401eda4bc217880b7301a Mon Sep 17 00:00:00 2001 From: dornech Date: Sun, 24 Nov 2024 02:18:37 +0100 Subject: [PATCH] Test Publishing - erneute Korrektur Build-Workflow Signed-off-by: dornech --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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