We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aa3b35 commit 8af7ddbCopy full SHA for 8af7ddb
.github/workflows/publish.yml
@@ -2,10 +2,13 @@ name: Build and upload to PyPI
2
3
on:
4
push:
5
+ branches:
6
+ - mpy-cross-v6
7
+ tags:
8
+ - mpy-cross-v6/*
9
pull_request:
- release:
- types:
- - published
10
11
12
13
jobs:
14
build_wheels:
@@ -54,8 +57,8 @@ jobs:
54
57
upload_pypi:
55
58
needs: [build_wheels, build_sdist]
56
59
runs-on: ubuntu-22.04
- # upload to PyPI on every tag starting with 'v'
- if: github.event_name == 'release' && github.event.action == 'published'
60
+ # upload to PyPI on every tag
61
+ if: github.event_name == 'push' && github.ref_type == 'tag'
62
steps:
63
- uses: actions/download-artifact@v2
64
with:
0 commit comments