fix set-env

This commit is contained in:
neil 2020-11-18 22:23:36 +08:00
parent c349e9aabe
commit 2b8561f27d
2 changed files with 4 additions and 1 deletions

View File

@ -144,7 +144,7 @@ jobs:
shell: cmd shell: cmd
- name: Set ENV - name: Set ENV
run: | run: |
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin' echo "PATH=C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin" >> $GITHUB_ENV
- name: Clone acmetest - name: Clone acmetest
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
- name: Run acmetest - name: Run acmetest

View File

@ -89,6 +89,9 @@ jobs:
- name: Set ENV - name: Set ENV
run: | run: |
echo "PATH=C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin" >> $GITHUB_ENV echo "PATH=C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin" >> $GITHUB_ENV
- name: Check ENV
run: |
echo "PATH=$PATH"
- name: Clone acmetest - name: Clone acmetest
shell: cmd shell: cmd
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/