Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/publish-to-live-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Python 🐍 distributions 📦 to pypi
name: Publish 🐍 📦 to pypi

on:
release:
Expand All @@ -7,7 +7,7 @@ on:

jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to pypi
name: Build and publish 🐍 📦 to pypi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand All @@ -31,9 +31,9 @@ jobs:
--outdir dist/
.

- name: Publish distribution 📦 to PyPI
- name: Publish 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Python 🐍 distributions 📦 to TestPyPI
name: Publish 🐍 📦 to TestPyPI

on:
push:
Expand All @@ -7,7 +7,7 @@ on:

jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to TestPyPI
name: Build and publish 🐍 📦 to TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand All @@ -31,8 +31,8 @@ jobs:
--outdir dist/
.

- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
- name: Publish 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down