build: use env var for build-tools pinning (#41969)

This commit is contained in:
Shelley Vohr
2024-04-29 10:07:42 -04:00
committed by GitHub
parent b41da150ca
commit b95d0f7623

View File

@@ -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