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' if: matrix.os == 'ubuntu-latest'
run: | run: |
mkdir -p $GOPATH/bin 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 chmod +x $GOPATH/bin/gfmrun
npm install markdown-toc npm install markdown-toc
@ -47,7 +47,7 @@ jobs:
if: matrix.os == 'macos-latest' if: matrix.os == 'macos-latest'
run: | run: |
mkdir -p $GOPATH/bin 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 chmod +x $GOPATH/bin/gfmrun
npm install markdown-toc npm install markdown-toc
@ -55,10 +55,7 @@ jobs:
if: matrix.os == 'windows-latest' if: matrix.os == 'windows-latest'
run: | run: |
md $GOPATH/bin md $GOPATH/bin
choco install curl curl -L -o $GOPATH/bin/gfmrun "https://github.com/urfave/gfmrun/releases/download/v1.2.14/gfmrun-windows-amd64-v1.2.14.exe"
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 -
npm install markdown-toc npm install markdown-toc
- name: Run Tests (v1) - name: Run Tests (v1)