Skip to content

Update main.yml

Update main.yml #43

Workflow file for this run

name: CI
on: [push]
jobs:
test:
strategy:
matrix:
runs-on: ["macOS-latest", "ubuntu-latest"]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v1
- 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)"
/home/homebrew/.homebrew/bin/brew install --build-bottle --verbose Formula/kdash.rb && kdash -h