Update tests.yml

This commit is contained in:
ineo6 2023-02-11 15:58:43 +08:00 committed by GitHub
parent 93c50b2deb
commit 5abe944f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,11 +90,11 @@ jobs:
chmod 755 /usr/local/bin/brew
- name: Set up WSL environment 2
if: runner.os == 'windows'
run: |
echo "HOMEBREW_BREW_GIT_REMOTE=https://github.com/Homebrew/brew" >> $GITHUB_ENV
echo "HOMEBREW_CORE_GIT_REMOTE=https://github.com/Homebrew/homebrew-core" >> $GITHUB_ENV
echo "HOMEBREW_CASK_GIT_REMOTE=https://github.com/Homebrew/homebrew-cask" >> $GITHUB_ENV
if: runner.os == 'windows'
run: |
echo "HOMEBREW_BREW_GIT_REMOTE=https://github.com/Homebrew/brew" >> $GITHUB_ENV
echo "HOMEBREW_CORE_GIT_REMOTE=https://github.com/Homebrew/homebrew-core" >> $GITHUB_ENV
echo "HOMEBREW_CASK_GIT_REMOTE=https://github.com/Homebrew/homebrew-cask" >> $GITHUB_ENV
- run: /bin/bash -c "$(cat install.sh)"