From ee91d5648cc37d5d0a43073a84e46f6c08567066 Mon Sep 17 00:00:00 2001 From: Francis Roch Date: Thu, 25 Jul 2024 07:51:13 -0400 Subject: [PATCH] Fix linux install --- .github/workflows/install.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index edc575a..df3b924 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -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