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 87335a2
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,23 @@ 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: |
echo $GOBIN
echo $GOPATH
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 87335a2

Please sign in to comment.