mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* build: fixup windows source cache for release * build: fixup ffmpeg gn gen * build: add build-tools depot_tools to PATH There are some cases where it is still expected that depot_tools be in the path * put back regular gn gen for ffmpeg * build: add retry to moving source cache This resolves the error: `Move-Item : The process cannot access the file because it is being used by another process.`
23 lines
824 B
YAML
23 lines
824 B
YAML
name: 'Install Build Tools'
|
|
description: 'Installs an exact SHA of build tools'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install Build Tools
|
|
shell: bash
|
|
run: |
|
|
if [ "$(expr substr $(uname -s) 1 10)" == "MSYS_NT-10" ]; then
|
|
git config --global core.filemode false
|
|
git config --global core.autocrlf false
|
|
git config --global branch.autosetuprebase always
|
|
fi
|
|
export BUILD_TOOLS_SHA=8246e57791b0af4ae5975eb96f09855f9269b1cd
|
|
npm i -g @electron/build-tools
|
|
e auto-update disable
|
|
e d auto-update disable
|
|
if [ "$(expr substr $(uname -s) 1 10)" == "MSYS_NT-10" ]; then
|
|
e d cipd.bat --version
|
|
cp "C:\Python311\python.exe" "C:\Python311\python3.exe"
|
|
fi
|
|
echo "$HOME/.electron_build_tools/third_party/depot_tools" >> $GITHUB_PATH
|