feat: 更新windows env

This commit is contained in:
neo 2023-02-11 15:27:42 +08:00
parent bda97ff1e5
commit b0d25e49b7

View File

@ -88,9 +88,9 @@ jobs:
chmod 644 /etc/sudoers.d/runner
echo -e "#!/bin/bash\nexec /home/linuxbrew/.linuxbrew/bin/brew \"\$@\"" | tee /usr/local/bin/brew
chmod 755 /usr/local/bin/brew
"HOMEBREW_BREW_GIT_REMOTE=${env:HOMEBREW_BREW_GIT_REMOTE}" >> $env:GITHUB_ENV
"HOMEBREW_CORE_GIT_REMOTE=${env:HOMEBREW_CORE_GIT_REMOTE}" >> $env:GITHUB_ENV
"HOMEBREW_CASK_GIT_REMOTE=${env:HOMEBREW_CASK_GIT_REMOTE}" >> $env:GITHUB_ENV
"HOMEBREW_BREW_GIT_REMOTE=https://github.com/Homebrew/brew" >> $env:GITHUB_ENV
"HOMEBREW_CORE_GIT_REMOTE=https://github.com/Homebrew/homebrew-core" >> $env:GITHUB_ENV
"HOMEBREW_CASK_GIT_REMOTE=https://github.com/Homebrew/homebrew-cask" >> $env:GITHUB_ENV
- run: /bin/bash -c "$(cat install.sh)"