env fixes

This commit is contained in:
Ajitem Sahasrabuddhe 2019-12-06 12:51:15 +05:30
parent 67a8b288fd
commit 8dfefe854e
No known key found for this signature in database
GPG Key ID: 5B0EE10DAA76876C

View File

@ -26,8 +26,8 @@ jobs:
- name: Set GOPATH and PATH
run: |
echo "##[set-env name=GOPATH;]$(dirname $GITHUB_WORKSPACE)"
echo "##[add-path]$(dirname $GITHUB_WORKSPACE)/bin"
echo "::set-env name=GOPATH::$(dirname $GITHUB_WORKSPACE)"
echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin"
shell: bash
- name: Checkout Code
@ -54,9 +54,7 @@ jobs:
- name: Install Dependencies (Windows)
if: matrix.os == 'windows-latest'
run: |
set path=%path%;%GITHUB_WORKSPACE%\bin
md %GITHUB_WORKSPACE%\bin
curl -L -o %GITHUB_WORKSPACE%\bin\gfmrun.exe "https://github.com/urfave/gfmrun/releases/download/v1.2.14/gfmrun-windows-amd64-v1.2.14.exe"
curl -L -o gfmrun.exe "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)