Skip to content

Commit

Permalink
Merge pull request #162 from thewtex/ci-push-pr
Browse files Browse the repository at this point in the history
BUG: Prevent duplicate builds on pull request, push
  • Loading branch information
thewtex authored Jul 2, 2024
2 parents 0d54bc7 + 1d9b65e commit d59c3de
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
name: Build, test, package

on: [push,pull_request]
on:
push:
branches:
- main
pull_request:
branches:
- main

env:
itk-git-tag: "v5.4.0"
itk-wheel-tag: "v5.4.0"
itk-python-package-tag: "v5.4.0"
# v5.4.0 + fixes
itk-python-package-tag: "a52d9b596b4f0da5ddb770ee99851e5c65ca3053"

jobs:
build-test-cxx:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Build, test, package

on: [push,pull_request]
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
cxx-build-workflow:
Expand Down

0 comments on commit d59c3de

Please sign in to comment.