Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches: [master]
tags: ['v*']
tags: ['*']
pull_request:
branches: [master]

Expand Down Expand Up @@ -37,6 +37,7 @@ jobs:
env:
PYTHON_VERSION: ${{ matrix.python-version }}
run: tox

- name: Install release dependencies
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
run: |
Expand All @@ -57,7 +58,8 @@ jobs:
# Separate job for PyPI publishing
publish:
needs: test
if: startsWith(github.ref, 'refs/tags/')
# Changed the condition to check for any tag
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
environment: ci
steps:
Expand Down
Loading