Skip to content

Commit

Permalink
CI: Build on nipy branch and release
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 4, 2024
1 parent 7ce60f8 commit 5012049
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
push:
branches:
- master
tags:
- "*"
- nipy
pull_request:
branches:
- master
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ on:
push:
branches:
- master
tags:
- "*"
- nipy
pull_request:
branches:
- master
release:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -136,7 +137,7 @@ jobs:
runs-on: ubuntu-latest
environment: "Package deployment"
needs: [pre-publish]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'release'
steps:
- uses: actions/download-artifact@v3
with:
Expand All @@ -146,5 +147,3 @@ jobs:
mv dist/*/*.{tar.gz,whl} dist
rmdir dist/*/
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ push = false

[tool.cibuildwheel]
# Do not bother building pypy wheels
skip = "pp*"
skip = "pp* cp313*"

0 comments on commit 5012049

Please sign in to comment.