feat: 优化env

This commit is contained in:
neo 2023-02-11 14:24:47 +08:00
parent 318363aac6
commit 875eff5609

View File

@ -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: |