diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b966cfa..b4e0873 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,10 +15,14 @@ jobs: shell: bash run: | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - /home/linuxbrew/.linuxbrew/bin/brew install --build-bottle --verbose Formula/kdash.rb && kdash -h + (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/runner/.bash_profile + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" + brew install --build-bottle --verbose Formula/kdash.rb + kdash -h - name: Install tools Mac if: matrix.runs-on == 'macOS-latest' shell: bash run: | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - /home/homebrew/.homebrew/bin/brew install --build-bottle --verbose Formula/kdash.rb && kdash -h + /home/homebrew/.homebrew/bin/brew install --build-bottle --verbose Formula/kdash.rb + kdash -h