Skip to content

Commit 915bb0d

Browse files
committed
ci: fix building universal
1 parent f9fea47 commit 915bb0d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ jobs:
126126
name: Build Targets
127127
needs: [semantic-version, update-version]
128128
runs-on: ${{ matrix.os }}
129+
# Don't run builds for version bump branches
130+
if: "!startsWith(github.ref_name, 'chore/version-bump-')"
129131
strategy:
130132
matrix:
131133
include:
@@ -184,6 +186,8 @@ jobs:
184186
name: Universal macOS
185187
runs-on: macos-latest
186188
needs: [semantic-version, update-version, build-matrix, create-release]
189+
# Don't run builds for version bump branches
190+
if: "!startsWith(github.ref_name, 'chore/version-bump-')"
187191
steps:
188192
- uses: actions/checkout@v5
189193
with:
@@ -315,6 +319,9 @@ jobs:
315319
# Delete remote branch if it exists
316320
git push origin --delete "$BRANCH" 2>/dev/null || true
317321
322+
# Delete local branch if it exists
323+
git branch -D "$BRANCH" 2>/dev/null || true
324+
318325
git checkout -b "$BRANCH"
319326
git add Cargo.toml
320327
git commit -m "chore: bump version to ${{ env.NEXT_VERSION }}"

0 commit comments

Comments
 (0)