Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-android-templateapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
# Stable branches use their matching template branch. All other
# builds use the template's main branch.
BRANCH=${{ github.ref_name }}
BRANCH=${{ github.base_ref || github.ref_name }}
if ! [[ $BRANCH == *-stable* ]]; then
BRANCH=main
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ios-templateapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
# For stable branches, we want to use the stable branch of the template
# In all the other cases, we want to use "main"
BRANCH=${{ github.ref_name }}
BRANCH=${{ github.base_ref || github.ref_name }}
if ! [[ $BRANCH == *-stable* ]]; then
BRANCH=main
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-android-templateapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
# For stable branches, we want to use the stable branch of the template
# In all the other cases, we want to use "main"
BRANCH=${{ github.ref_name }}
BRANCH=${{ github.base_ref || github.ref_name }}
if ! [[ $BRANCH == *-stable* ]]; then
BRANCH=main
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-ios-templateapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
REACT_NATIVE_PKG=$(find /tmp/react-native-tmp -type f -name "*.tgz")
echo "React Native tgs is $REACT_NATIVE_PKG"
BRANCH=${{ github.ref_name }}
BRANCH=${{ github.base_ref || github.ref_name }}
if ! [[ $BRANCH == *-stable* ]]; then
BRANCH=main
fi
Expand Down
Loading