diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 4c1bec5..5601b19 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -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