mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-04-05 19:41:45 +08:00
feat: 优化env
This commit is contained in:
parent
318363aac6
commit
875eff5609
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -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: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user