Skip the mobile build when the commit message marks it.
Build / increment-version (push) Canceled after 0s
Build / build-android (push) Canceled after 0s

This commit is contained in:
2026-11-01 04:32:25 +11:00
parent 8f30d0fce6
commit 9fe732fe32
+7 -1
View File
@@ -46,7 +46,13 @@ jobs:
grep '"version"' package.json | head -1
echo "VERSION=$NEW_VERSION" >> $GITHUB_OUTPUT
echo "SHOULD_BUILD=true" >> $GITHUB_OUTPUT
# [skip build] runs the checks workflow but skips the mobile build.
if echo "${{ github.event.head_commit.message }}" | grep -qi '\[skip build\]'; then
echo "SHOULD_BUILD=false" >> $GITHUB_OUTPUT
else
echo "SHOULD_BUILD=true" >> $GITHUB_OUTPUT
fi
- name: Commit and push version bump
run: |