From 67a8b288fd40693744a5e489cf867d232ba28b41 Mon Sep 17 00:00:00 2001 From: Ajitem Sahasrabuddhe Date: Fri, 6 Dec 2019 12:30:13 +0530 Subject: [PATCH] fix windows env --- .github/workflows/cli.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 9d5d5d4..060c813 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -54,8 +54,9 @@ jobs: - name: Install Dependencies (Windows) if: matrix.os == 'windows-latest' run: | - md $GOPATH\bin - curl -L -o $GOPATH\bin\gfmrun.exe "https://github.com/urfave/gfmrun/releases/download/v1.2.14/gfmrun-windows-amd64-v1.2.14.exe" + set path=%path%;%GITHUB_WORKSPACE%\bin + md %GITHUB_WORKSPACE%\bin + curl -L -o %GITHUB_WORKSPACE%\bin\gfmrun.exe "https://github.com/urfave/gfmrun/releases/download/v1.2.14/gfmrun-windows-amd64-v1.2.14.exe" npm install markdown-toc - name: Run Tests (v1)