Skip to content

Commit

Permalink
Weitere workflow Korrekturen - add dumper /2.
Browse files Browse the repository at this point in the history
  • Loading branch information
dornech committed Nov 23, 2024
1 parent 1304b23 commit 064e87e
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
environment: release
needs: build-test
if: startsWith(github.ref, 'refs/heads/main')
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write
id-token: write
Expand All @@ -68,16 +68,21 @@ jobs:
run: |
hatch build
- name: Publish 📦 to Test PyPI
if: startsWith(github.ref, 'refs/heads/main')
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
user: __token__
password: ${{ secrets.TEST_PYPI_SECRECT }}
id-token: write
environment: release
packages-dir: dist/
repository-url: https://test.pypi.org/legacy/
# skip-existing: true
# user: __token__
# password: ${{ secrets.TEST_PYPI_SECRECT }}
# repository-url: https://test.pypi.org/legacy/
- name: Publish 📦 to PyPI
if: startsWith(github.ref, 'refs/heads/main')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_SECRECT }}
packages-dir: dist/
id-token: write
environment: release
# user: __token__
# password: ${{ secrets.PYPI_SECRECT }}

0 comments on commit 064e87e

Please sign in to comment.