Skip to content

Commit

Permalink
Re-enable trigger to build only for new release tags
Browse files Browse the repository at this point in the history
  • Loading branch information
gmloose committed Sep 4, 2024
1 parent 7e5dc5e commit 1003bd9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Build and upload to PyPI

# # Only build and upload when a new release tag is created
# on:
# push:
# tags:
# - "v[0-9]+.[0-9]+.[0-9]+"
# - "v[0-9]+.[0-9]+.[0-9]+[a-z]+[0-9]+"
# Only build and upload when a new release tag is created
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+[a-z]+[0-9]+"
# Alternatively, build on every branch push, tag push, and pull request change
on: [push] #, pull_request]
# on: [push, pull_request]

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
os: [ubuntu-latest, macos-12, macos-14]
toolchain:
Expand All @@ -24,7 +24,7 @@ jobs:
macosx_deployment_target: "12.0"
- os: macos-14
macosx_deployment_target: "14.0"

steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 1003bd9

Please sign in to comment.