|
|
|
@ -44,12 +44,12 @@ jobs:
|
|
|
|
|
npm install markdown-toc
|
|
|
|
|
|
|
|
|
|
- name: Install Dependencies (Mac)
|
|
|
|
|
if: matrix.os == 'ubuntu-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 -
|
|
|
|
|
chmod +x $GOPATH/bin/gfmrun
|
|
|
|
|
npm install markdown-toc
|
|
|
|
|
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 -
|
|
|
|
|
chmod +x $GOPATH/bin/gfmrun
|
|
|
|
|
npm install markdown-toc
|
|
|
|
|
|
|
|
|
|
- name: Run Tests (v1)
|
|
|
|
|
if: contains(github.base_ref, 'v1')
|
|
|
|
|