Merge branch 'github-actions' of https://github.com/asahasrabuddhe/cli into github-actions

This commit is contained in:
Ajitem Sahasrabuddhe
2019-12-07 12:19:04 +05:30

View File

@@ -43,7 +43,7 @@ jobs:
npm install markdown-toc
- name: Run Tests (v1)
if: contains(github.ref, 'v1')
if: contains(github.base_ref, 'v1')
run: |
go run build.go vet
go run build.go test
@@ -51,7 +51,7 @@ jobs:
go run build.go toc docs/v1/manual.md
- name: Run Tests (v2)
if: contains(github.ref, 'master')
if: contains(github.base_ref, 'master')
run: |
go run build.go vet
go run build.go test