Skip to content

Commit

Permalink
devops: fix architecture enforcement (#4645)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Dec 9, 2020
1 parent 6d3278f commit 93c362d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser_patches/checkout_build_archive_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fi

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

0 comments on commit 93c362d

Please sign in to comment.