Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release type for github workflows, switch to new auth #146

Merged
merged 1 commit into from
Aug 20, 2024
Merged
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
Fix release type for github workflows, switch to new auth
  • Loading branch information
SlouchyButton committed Aug 20, 2024
commit 75c76a2d5ddaaf8c1fd0e77a032ef9152349a571
5 changes: 2 additions & 3 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
name: Publish Python 🐍 distributions 📦 to PyPI

on:
workflow_dispatch:
release:
types: [created]
types: [published]

jobs:
build-n-publish:
Expand All @@ -31,6 +32,4 @@ jobs:
# https://github.com/pypa/gh-action-pypi-publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
# secrets.PYPI_API_TOKEN is set to usercont-release-bot user token
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true
Loading