From 9f5fad19891df28012ce8d874f1e76d8020a7f98 Mon Sep 17 00:00:00 2001 From: Ajitem Sahasrabuddhe Date: Fri, 6 Dec 2019 11:36:03 +0530 Subject: [PATCH] pin to release --- .github/workflows/cli.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 55dac26..7ef0dbd 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -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)