diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 926f901..bfe0fde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,17 +44,17 @@ jobs: - run: deno coverage cov_profile --lcov --output=cov_profile.lcov - - uses: coverallsapp/github-action@v1 + - uses: coverallsapp/github-action@v2 with: path-to-lcov: cov_profile.lcov parallel: true - flag-name: ${{ matrix.platform.id }} + flag-name: ${{ matrix.os }} upload-coverage: needs: tests runs-on: ubuntu-latest steps: - - uses: coverallsapp/github-action@v1 + - uses: coverallsapp/github-action@v2 with: parallel-finished: true diff --git a/src/hooks/useConfig.ts b/src/hooks/useConfig.ts index 133c4bf..9196789 100644 --- a/src/hooks/useConfig.ts +++ b/src/hooks/useConfig.ts @@ -135,8 +135,10 @@ function git(_prefix: Path, PATH?: string): Path | undefined { case "linux": return rv case "windows": - //FIXME this is GitHub Actions specific - return new Path('C:\Program Files\Git\cmd\git.exe') + if (PATH) { + //FIXME this is GitHub Actions specific + return new Path('C:\Program Files\Git\cmd\git.exe') + } } })()?.join("bin/git") }