env fixes
This commit is contained in:
parent
67a8b288fd
commit
8dfefe854e
8
.github/workflows/cli.yml
vendored
8
.github/workflows/cli.yml
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user