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 2f7161b
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,25 @@ jobs:
sudo apt-get update
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: |
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
export PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
echo "PATH: $PATH"
fi
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 2f7161b

Please sign in to comment.