mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: fix architecture enforcement (#4645)
This commit is contained in:
parent
6d3278f1eb
commit
93c362de1b
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user