fix windows env

This commit is contained in:
Ajitem Sahasrabuddhe 2019-12-06 12:30:13 +05:30
parent 01ba4336a4
commit 67a8b288fd
No known key found for this signature in database
GPG Key ID: 5B0EE10DAA76876C

View File

@ -54,8 +54,9 @@ jobs:
- name: Install Dependencies (Windows) - name: Install Dependencies (Windows)
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
run: | run: |
md $GOPATH\bin set path=%path%;%GITHUB_WORKSPACE%\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" 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 npm install markdown-toc
- name: Run Tests (v1) - name: Run Tests (v1)