pin to release

This commit is contained in:
Ajitem Sahasrabuddhe 2019-12-06 11:36:03 +05:30
parent 29f4ccff7b
commit 9f5fad1989
No known key found for this signature in database
GPG Key ID: 5B0EE10DAA76876C

View File

@ -39,7 +39,7 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: |
mkdir -p $GOPATH/bin
curl -s https://api.github.com/repos/urfave/gfmrun/releases/latest | grep gfmrun-linux-amd64 | grep download | cut -d '"' -f 4 | wget -O $GOPATH/bin/gfmrun -i -
curl -L -o $GOPATH/bin/gfmrun "https://github.com/urfave/gfmrun/releases/download/v1.2.14/gfmrun-linux-amd64-v1.2.14"
chmod +x $GOPATH/bin/gfmrun
npm install markdown-toc
@ -47,7 +47,7 @@ jobs:
if: matrix.os == 'macos-latest'
run: |
mkdir -p $GOPATH/bin
curl -s https://api.github.com/repos/urfave/gfmrun/releases/latest | grep gfmrun-darwin-amd64 | grep download | cut -d '"' -f 4 | wget -O $GOPATH/bin/gfmrun -i -
curl -L -o $GOPATH/bin/gfmrun "https://github.com/urfave/gfmrun/releases/download/v1.2.14/gfmrun-darwin-amd64-v1.2.14"
chmod +x $GOPATH/bin/gfmrun
npm install markdown-toc
@ -55,10 +55,7 @@ jobs:
if: matrix.os == 'windows-latest'
run: |
md $GOPATH/bin
choco install curl
choco install wget
choco install gnuwin32-coreutils.install
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 -L -o $GOPATH/bin/gfmrun "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)