From 875eff56096e84770ff751c8fb56e14aeabe6350 Mon Sep 17 00:00:00 2001 From: neo Date: Sat, 11 Feb 2023 14:24:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 339c8ba..d2ee907 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,6 +6,10 @@ on: pull_request: permissions: contents: read +env: + HOMEBREW_BREW_GIT_REMOTE: https://github.com/Homebrew/brew + HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core + HOMEBREW_CASK_GIT_REMOTE: https://github.com/Homebrew/homebrew-cask jobs: tests: @@ -37,12 +41,6 @@ jobs: - name: Set up Git repository uses: actions/checkout@main - - name: Set up Env - run: | - export HOMEBREW_BREW_GIT_REMOTE="https://github.com/Homebrew/brew" - export HOMEBREW_CORE_GIT_REMOTE="https://github.com/Homebrew/homebrew-core" - export HOMEBREW_CASK_GIT_REMOTE="https://github.com/Homebrew/homebrew-cask" - - name: Cleanup macOS if: runner.os == 'macOS' run: |