From b95d0f76232613a9f2a2afa87d3ce26259fbdcd9 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 29 Apr 2024 10:07:42 -0400 Subject: [PATCH] build: use env var for build-tools pinning (#41969) --- .github/workflows/macos-build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index e7304a278b..d562e93f53 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -167,7 +167,8 @@ jobs: steps: - name: Load Build Tools run: | - yarn add git://github.com/electron/build-tools.git#2bb63e2e7877491b52f972532b52adc979a6ec2f + export BUILD_TOOLS_SHA=2bb63e2e7877491b52f972532b52adc979a6ec2f + npm i -g @electron/build-tools e init --root=$(pwd) --out=Default testing - name: Checkout Electron uses: actions/checkout@v4