Skip to content

Commit

Permalink
Different steps for different OS
Browse files Browse the repository at this point in the history
  • Loading branch information
agentmilindu committed Aug 24, 2019
1 parent 8295d0b commit 20ad271
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,22 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Build Dunner and run tests

- name: Build Dunner and run tests on linux
if: matrix.os == 'ubuntu-latest'
run: |
mkdir -p ~/go/bin
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
go install
dunner version
dunner do show
- name: Build Dunner and run tests on Mac
if: matrix.os == 'macOS-latest'
run: |
go install github.com/golang/dep/cmd/dep
brew install dep
brew upgrade dep
dep ensure
go install
dunner version
Expand Down

0 comments on commit 20ad271

Please sign in to comment.