File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 push :
66 branches : [master]
7- release :
8- types : [published]
7+ tags : ["*"]
98 workflow_dispatch :
109 inputs :
1110 pytest_addopts :
@@ -83,17 +82,17 @@ jobs:
8382 name : copier
8483
8584 publish :
86- if : github.event_name == 'release'
85+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
8786 needs : build
8887 runs-on : ubuntu-latest
8988 steps :
9089 - uses : actions/checkout@v2
9190 with :
9291 fetch-depth : 0 # Needs all tags to compute dynamic version
93- - name : Set up Python 3.8
92+ - name : Set up Python 3.10
9493 uses : actions/setup-python@v2
9594 with :
96- python-version : 3.8
95+ python-version : 3.10
9796 - name : generate cache key PY
9897 run :
9998 echo "PY=$((python -VV; pip freeze) | sha256sum | cut -d' ' -f1)" >>
You can’t perform that action at this time.
0 commit comments