mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: configure windows correctly
This commit is contained in:
@@ -6,8 +6,7 @@ runs:
|
||||
- name: Install Build Tools
|
||||
shell: bash
|
||||
run: |
|
||||
echo "$(expr substr $(uname -s) 1 10)"
|
||||
if [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
|
||||
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
|
||||
|
||||
@@ -84,7 +84,11 @@ jobs:
|
||||
TARGET_ARCH: ${{ inputs.target-arch }}
|
||||
steps:
|
||||
- name: Create src dir
|
||||
run: mkdir src
|
||||
run: |
|
||||
mkdir src
|
||||
if [ "$(expr substr $(uname -s) 1 10)" == "MSYS_NT-10" ]; then
|
||||
mkdir -p "C:\Users\ContainerAdministrator\AppData\Roaming\npm"
|
||||
fi
|
||||
- name: Checkout Electron
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user