Skip the mobile build when the commit message marks it.
This commit is contained in:
@@ -46,7 +46,13 @@ jobs:
|
|||||||
grep '"version"' package.json | head -1
|
grep '"version"' package.json | head -1
|
||||||
|
|
||||||
echo "VERSION=$NEW_VERSION" >> $GITHUB_OUTPUT
|
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
|
- name: Commit and push version bump
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user