Skip to content

Commit

Permalink
publish to testpy
Browse files Browse the repository at this point in the history
  • Loading branch information
phreed authored and christo-ph committed Mar 22, 2024
1 parent 13c9b29 commit c3e731a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/testpi_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
name: python-package-distributions
path: dist/

publish-to-pypi:
name: Publish Python distribution package to PyPI
if: ${{ github.repository == 'quantorconsulting/mkdocs_build_plantuml' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') }}
publish-to-testpi:
name: Publish Python distribution package to TestPI
if: ${{ github.ref == 'refs/heads/test' }}
needs:
- build-python-package
runs-on: ubuntu-latest
environment:
name: pipy
name: testpy
url: https://testpi.org/p/mkdocs-build-plantuml-plugin
permissions:
id-token: write
Expand All @@ -45,13 +45,13 @@ jobs:
with:
name: python-package-distributions
path: dist/
- name: Publish distribution packages to PyPI
- name: Publish distribution packages to TestPI
uses: pypa/gh-action-pypi-publish@release/v1

add-git-tag:
name: Add version tag to repository
needs:
- publish-to-pypi
- publish-to-testpi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit c3e731a

Please sign in to comment.