diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 16fb753..b966cfa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,8 +10,15 @@ jobs: steps: - uses: actions/checkout@v1 - - - name: Install tools + - name: Install tools Linux + if: matrix.runs-on == 'ubuntu-latest' + 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 + - 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)" - brew install --build-bottle --verbose Formula/kdash.rb && kdash -h + /home/homebrew/.homebrew/bin/brew install --build-bottle --verbose Formula/kdash.rb && kdash -h