mirror of
https://github.com/MichaByte/highlight-video-maker.git
synced 2025-12-06 06:23: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
|
name: Publish Python distribution to PyPI and TestPyPI
|
||||||
|
|
||||||
on: push
|
on:
|
||||||
|
- push
|
||||||
|
- workflow_dispatch
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -31,7 +33,7 @@ jobs:
|
||||||
|
|
||||||
publish-to-pypi:
|
publish-to-pypi:
|
||||||
name: >-
|
name: >-
|
||||||
Publish Python 🐍 distribution 📦 to PyPI
|
Publish Python distribution to PyPI
|
||||||
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
|
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
|
|
@ -48,12 +50,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: python-package-distributions
|
name: python-package-distributions
|
||||||
path: dist/
|
path: dist/
|
||||||
- name: Publish distribution 📦 to PyPI
|
- name: Publish distribution to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
|
||||||
github-release:
|
github-release:
|
||||||
name: >-
|
name: >-
|
||||||
Sign the Python 🐍 distribution 📦 with Sigstore
|
Sign the Python distribution with Sigstore
|
||||||
and upload them to GitHub Release
|
and upload them to GitHub Release
|
||||||
needs:
|
needs:
|
||||||
- publish-to-pypi
|
- publish-to-pypi
|
||||||
|
|
@ -95,7 +97,7 @@ jobs:
|
||||||
--repo "$GITHUB_REPOSITORY"
|
--repo "$GITHUB_REPOSITORY"
|
||||||
|
|
||||||
publish-to-testpypi:
|
publish-to-testpypi:
|
||||||
name: Publish Python 🐍 distribution 📦 to TestPyPI
|
name: Publish Python distribution to TestPyPI
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -113,7 +115,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: python-package-distributions
|
name: python-package-distributions
|
||||||
path: dist/
|
path: dist/
|
||||||
- name: Publish distribution 📦 to TestPyPI
|
- name: Publish distribution to TestPyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
repository-url: https://test.pypi.org/legacy/
|
repository-url: https://test.pypi.org/legacy/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue