mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28: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)
|
name: Test Homebrew Formula (macOS)
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Set up Homebrew
|
||||||
uses: actions/checkout@v4
|
uses: Homebrew/actions/setup-homebrew@master
|
||||||
|
|
||||||
- name: Install stable Rust
|
- name: Install stable Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
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
|
- name: Let Homebrew build gitui from source
|
||||||
run: brew install --head --build-from-source gitui
|
run: brew install --build-from-source gitui
|
||||||
|
|
||||||
- name: Run Homebrew test
|
|
||||||
run: brew test gitui
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue