mirror of
https://github.com/MichaByte/highlight-video-maker.git
synced 2025-12-06 04:53:46 -05:00
Clean up workflow file
This commit is contained in:
parent
2d0b25c16c
commit
6b40d533d2
1 changed files with 79 additions and 77 deletions
14
.github/pypi.yml
vendored
14
.github/pypi.yml
vendored
|
|
@ -1,6 +1,8 @@
|
|||
name: Publish Python distribution to PyPI and TestPyPI
|
||||
|
||||
on: push
|
||||
on:
|
||||
- push
|
||||
- workflow_dispatch
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -31,7 +33,7 @@ jobs:
|
|||
|
||||
publish-to-pypi:
|
||||
name: >-
|
||||
Publish Python 🐍 distribution 📦 to PyPI
|
||||
Publish Python distribution to PyPI
|
||||
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
|
||||
needs:
|
||||
- build
|
||||
|
|
@ -48,12 +50,12 @@ jobs:
|
|||
with:
|
||||
name: python-package-distributions
|
||||
path: dist/
|
||||
- name: Publish distribution 📦 to PyPI
|
||||
- name: Publish distribution to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
|
||||
github-release:
|
||||
name: >-
|
||||
Sign the Python 🐍 distribution 📦 with Sigstore
|
||||
Sign the Python distribution with Sigstore
|
||||
and upload them to GitHub Release
|
||||
needs:
|
||||
- publish-to-pypi
|
||||
|
|
@ -95,7 +97,7 @@ jobs:
|
|||
--repo "$GITHUB_REPOSITORY"
|
||||
|
||||
publish-to-testpypi:
|
||||
name: Publish Python 🐍 distribution 📦 to TestPyPI
|
||||
name: Publish Python distribution to TestPyPI
|
||||
needs:
|
||||
- build
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -113,7 +115,7 @@ jobs:
|
|||
with:
|
||||
name: python-package-distributions
|
||||
path: dist/
|
||||
- name: Publish distribution 📦 to TestPyPI
|
||||
- name: Publish distribution to TestPyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
with:
|
||||
repository-url: https://test.pypi.org/legacy/
|
||||
Loading…
Add table
Add a link
Reference in a new issue