Only publish on new tag pushed

master
7x11x13 2021-12-28 16:27:30 -05:00
parent 5d93be6783
commit c7d1089b8a
1 changed files with 0 additions and 2 deletions

View File

@ -1,13 +1,11 @@
name: pypi-publish
on:
push:
branches: [ master ]
tags:
- 'v*'
jobs:
publish:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v2
- name: Set up Python