fix macos typo

This commit is contained in:
Ajitem Sahasrabuddhe 2019-12-06 10:18:30 +05:30
parent 1a724c9d6e
commit bac545cf3d
No known key found for this signature in database
GPG Key ID: 5B0EE10DAA76876C

View File

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