Skip to content

Commit

Permalink
Test Publishing - erneute Korrektur Build-Workflow
Browse files Browse the repository at this point in the history
Signed-off-by: dornech <[email protected]>
  • Loading branch information
dornech committed Nov 24, 2024
1 parent 64bf396 commit 05d6ee1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 05d6ee1

Please sign in to comment.