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
|
- name: Set GOPATH and PATH
|
||||||
run: |
|
run: |
|
||||||
echo "##[set-env name=GOPATH;]$(dirname $GITHUB_WORKSPACE)"
|
echo "::set-env name=GOPATH::$(dirname $GITHUB_WORKSPACE)"
|
||||||
echo "##[add-path]$(dirname $GITHUB_WORKSPACE)/bin"
|
echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
@ -54,9 +54,7 @@ jobs:
|
|||||||
- name: Install Dependencies (Windows)
|
- name: Install Dependencies (Windows)
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: |
|
run: |
|
||||||
set path=%path%;%GITHUB_WORKSPACE%\bin
|
curl -L -o gfmrun.exe "https://github.com/urfave/gfmrun/releases/download/v1.2.14/gfmrun-windows-amd64-v1.2.14.exe"
|
||||||
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"
|
|
||||||
npm install markdown-toc
|
npm install markdown-toc
|
||||||
|
|
||||||
- name: Run Tests (v1)
|
- name: Run Tests (v1)
|
||||||
|
Loading…
Reference in New Issue
Block a user