Skip to content

Commit 5012049

Browse files
committed
CI: Build on nipy branch and release
1 parent 7ce60f8 commit 5012049

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ on:
44
push:
55
branches:
66
- master
7-
tags:
8-
- "*"
7+
- nipy
98
pull_request:
109
branches:
1110
- master

.github/workflows/wheels.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ on:
44
push:
55
branches:
66
- master
7-
tags:
8-
- "*"
7+
- nipy
98
pull_request:
109
branches:
1110
- master
11+
release:
12+
types: [published]
1213

1314
concurrency:
1415
group: ${{ github.workflow }}-${{ github.ref }}
@@ -136,7 +137,7 @@ jobs:
136137
runs-on: ubuntu-latest
137138
environment: "Package deployment"
138139
needs: [pre-publish]
139-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
140+
if: github.event_name == 'release'
140141
steps:
141142
- uses: actions/download-artifact@v3
142143
with:
@@ -146,5 +147,3 @@ jobs:
146147
mv dist/*/*.{tar.gz,whl} dist
147148
rmdir dist/*/
148149
- uses: pypa/gh-action-pypi-publish@release/v1
149-
with:
150-
user: __token__

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ push = false
3535

3636
[tool.cibuildwheel]
3737
# Do not bother building pypy wheels
38-
skip = "pp*"
38+
skip = "pp* cp313*"

0 commit comments

Comments
 (0)