Skip to content

Commit

Permalink
Fix linux install
Browse files Browse the repository at this point in the history
  • Loading branch information
froch committed Jul 25, 2024
1 parent 90e4ab2 commit ee91d56
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,20 @@ jobs:
sudo apt-get install -y build-essential curl file git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $GITHUB_ENV
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> ~/.bashrc
- name: Ensure Homebrew is in PATH (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> $GITHUB_ENV
- name: Install Xiond
run: |
brew tap burnt-labs/xion
brew install go
echo "Matrix OS: ${{ matrix.os }}"
echo "Matrix version: ${{ matrix.version }}"
if [[ "${{ matrix.version }}" == "null" ]]; then
echo "Installing latest version of xiond"
brew install xiond
else
echo "Installing xiond version ${{ matrix.version }}"
brew install xiond@${{ matrix.version }}
fi
Expand Down

0 comments on commit ee91d56

Please sign in to comment.