Skip to content

Commit

Permalink
Only run publish workflows on tagged commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Spadini committed Apr 16, 2023
1 parent 4396afa commit cbd8355
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish Python 🐍 distributions 📦 to PyPI
on:
push:
branches:
- "master"
tags:
- 2*

jobs:
publish:
Expand All @@ -20,7 +20,7 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test-requirements.txt
pip install codecov pytest-cov
pip install pytest-cov
unzip test-repos
- name: Mypy
run: |
Expand Down

0 comments on commit cbd8355

Please sign in to comment.