mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
try fixing homebrew ci step (#2814)
This commit is contained in:
parent
050b6ed620
commit
18624da9ed
1 changed files with 3 additions and 16 deletions
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
|
|
@ -303,26 +303,13 @@ jobs:
|
|||
name: Test Homebrew Formula (macOS)
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Homebrew
|
||||
uses: Homebrew/actions/setup-homebrew@master
|
||||
|
||||
- name: Install stable Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- name: Install Homebrew
|
||||
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
- name: Set up Homebrew in PATH
|
||||
run: |
|
||||
echo "$HOMEBREW_PREFIX/bin:$HOMEBREW_PREFIX/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" >> $GITHUB_PATH
|
||||
|
||||
- name: Update Homebrew
|
||||
run: brew update
|
||||
|
||||
- name: Let Homebrew build gitui from source
|
||||
run: brew install --head --build-from-source gitui
|
||||
|
||||
- name: Run Homebrew test
|
||||
run: brew test gitui
|
||||
run: brew install --build-from-source gitui
|
||||
|
|
|
|||
Loading…
Reference in a new issue