Add self-hosted runner arch sanity check (#1767)

This commit is contained in:
Michael Telatynski
2024-07-15 11:04:02 +01:00
committed by GitHub
parent 525c984e8a
commit 9918467a8d
2 changed files with 6 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ jobs:
- name: Install missing tools
if: runner.environment == 'self-hosted'
run: |
# Sanity check that the arch is arm64 as we expect
[[ $(uname -p) == "aarch64" ]] || exit 1
sudo apt-get -qq update
# curl for yarn download, git for tj-actions/changed-files, zstd for actions/cache
sudo apt-get install -y curl git zstd