Skip to content

Commit b486e84

Browse files
authored
devops: revert ability to skip architecture enforcement (#4667)
1 parent 4f3f626 commit b486e84

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

browser_patches/checkout_build_archive_upload.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,7 @@ else
151151
exit 1
152152
fi
153153

154-
# Ability to skip arch checks since as of Dec 8, 2020 github self-hosted runner runs
155-
# under rosetta on Apple Silicon: https://github.com/actions/runner/issues/805
156-
if [[ (-z "${DO_NOT_ENFORCE_ARCH}") && ("$CURRENT_ARCH" != "$EXPECTED_ARCH") ]]; then
154+
if [[ "$CURRENT_ARCH" != "$EXPECTED_ARCH" ]]; then
157155
echo "ERROR: cannot build $BUILD_FLAVOR"
158156
echo " -- expected arch: $EXPECTED_ARCH"
159157
echo " -- current arch: $CURRENT_ARCH"

0 commit comments

Comments
 (0)