File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ concurrency:
13
13
jobs :
14
14
15
15
sdists_for_pypi :
16
-
16
+ name : Build sdist (and upload to PyPI on release tags)
17
17
runs-on : ubuntu-latest
18
18
env :
19
19
CAN_DEPLOY : ${{ secrets.SAGEMATH_PYPI_API_TOKEN != '' }}
34
34
password : ${{ secrets.SAGEMATH_PYPI_API_TOKEN }}
35
35
skip_existing : true
36
36
verbose : true
37
- if : env.CAN_DEPLOY == 'true'
37
+ if : env.CAN_DEPLOY == 'true' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
38
38
39
39
build_wheels :
40
40
name : Build wheels on ${{ matrix.os }}
@@ -57,11 +57,12 @@ jobs:
57
57
58
58
- uses : actions/upload-artifact@v3
59
59
with :
60
+ name : wheels
60
61
path : ./wheelhouse/*.whl
61
62
62
63
pypi-publish :
63
64
# https://github.com/pypa/gh-action-pypi-publish
64
- name : Upload release to PyPI
65
+ name : Upload wheels to PyPI
65
66
needs : build_wheels
66
67
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
67
68
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
- 1.11.3
1
+ 1.11.4a0.dev0
You can’t perform that action at this time.
0 commit comments