add win dependencies

This commit is contained in:
Ajitem Sahasrabuddhe 2019-12-06 10:46:41 +05:30
parent 78bad9b456
commit fd01ea62f4
No known key found for this signature in database
GPG Key ID: 5B0EE10DAA76876C

View File

@ -54,9 +54,10 @@ jobs:
- name: Install Dependencies (Windows) - name: Install Dependencies (Windows)
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
run: | run: |
mkdir -p $GOPATH/bin md $GOPATH/bin
choco install curl
choco install wget
curl -s https://api.github.com/repos/urfave/gfmrun/releases/latest | grep gfmrun-windows-amd64 | grep download | cut -d '"' -f 4 | wget -O $GOPATH/bin/gfmrun -i - curl -s https://api.github.com/repos/urfave/gfmrun/releases/latest | grep gfmrun-windows-amd64 | grep download | cut -d '"' -f 4 | wget -O $GOPATH/bin/gfmrun -i -
chmod +x $GOPATH/bin/gfmrun
npm install markdown-toc npm install markdown-toc
- name: Run Tests (v1) - name: Run Tests (v1)