Skip to content

Commit

Permalink
Test publish to test pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
F-WRunTime committed Oct 12, 2023
1 parent 7e9a9f4 commit a85eb46
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
on:
workflow_dispatch:
push:
branches:
feature/release-publish-workflow

jobs:
build-n-publish:
Expand All @@ -20,9 +23,9 @@ jobs:
password: ${{ secrets.PYPI_DEPLOY_TOKEN_TEST }}
repository-url: https://test.pypi.org/legacy/

- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_DEPLOY_TOKEN }}
# - name: Publish distribution 📦 to PyPI
# if: startsWith(github.ref, 'refs/tags')
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PYPI_DEPLOY_TOKEN }}

0 comments on commit a85eb46

Please sign in to comment.