Skip to content

Commit

Permalink
switch workflow run to manual dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
phobson committed Oct 8, 2024
1 parent b1ee124 commit 4db7a97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/python-publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Publish Python 🐍 distribution πŸ“¦ to PyPI
on:
push:
# Pattern matched against refs/tags
tags:
- 'v*/release' # Push events to every that ends in /release
workflow_dispatch:

jobs:
build:
name: Build distribution πŸ“¦
Expand All @@ -15,6 +13,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.x"

- name: Install pypa/build
run: >-
python3 -m
Expand Down Expand Up @@ -70,7 +69,7 @@ jobs:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v1.2.3
uses: sigstore/gh-action-sigstore-python@v2.1.1
with:
inputs: >-
./dist/*.tar.gz
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/python-publish-testpypi.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Publish Python 🐍 distribution πŸ“¦ to TestPyPI

on:
push:
# Pattern matched against refs/tags
tags:
- 'v**test*' # Push events to every that ends in "test[something]" (can have many /-levels)
workflow_dispatch:

jobs:
build:
Expand Down

0 comments on commit 4db7a97

Please sign in to comment.