Online publish when tagging
This commit is contained in:
7
.github/workflows/PyPI-publishing.yml
vendored
7
.github/workflows/PyPI-publishing.yml
vendored
@ -1,6 +1,10 @@
|
|||||||
name: PyPI 📦 Distribution
|
name: PyPI 📦 Distribution
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "*"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -97,7 +101,6 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
needs: [build]
|
needs: [build]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: startsWith(github.ref, 'refs/tags')
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user