Update cli.yml

This commit is contained in:
lynn [they] 2019-12-18 18:09:40 -08:00 committed by GitHub
parent 460fa698ab
commit 3eee4a466e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,19 +45,20 @@ jobs:
chmod +x $GOPATH/bin/gfmrun chmod +x $GOPATH/bin/gfmrun
npm install markdown-toc npm install markdown-toc
- name: Run Tests (v1) - name: Run Tests
if: contains(github.base_ref, 'v1')
run: | run: |
go run build.go vet go run build.go vet
go run build.go test go run build.go test
- name: Run Tests (v1)
if: contains(github.base_ref, 'v1')
run: |
go run build.go gfmrun docs/v1/manual.md go run build.go gfmrun docs/v1/manual.md
go run build.go toc docs/v1/manual.md go run build.go toc docs/v1/manual.md
- name: Run Tests (v2) - name: Run Tests (v2)
if: contains(github.base_ref, 'master') if: contains(github.base_ref, 'master')
run: | run: |
go run build.go vet
go run build.go test
go run build.go gfmrun docs/v2/manual.md go run build.go gfmrun docs/v2/manual.md
go run build.go toc docs/v2/manual.md go run build.go toc docs/v2/manual.md