replace deprecated add-path and set-env

This commit is contained in:
nulano 2020-10-06 17:01:04 +02:00 committed by GitHub
parent e73218c2d5
commit 48b25f06ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ jobs:
- name: Set up TCL
if: "contains(matrix.python-version, 'pypy')"
run: Write-Host "::set-env name=TCL_LIBRARY::$env:pythonLocation\tcl\tcl8.5"
run: echo "TCL_LIBRARY=$env:pythonLocation\tcl\tcl8.5" >> $GITHUB_ENV
shell: pwsh
- name: Print build system information
@ -71,10 +71,10 @@ jobs:
- name: Install dependencies
run: |
7z x winbuild\depends\nasm-2.14.02-win64.zip "-o$env:RUNNER_WORKSPACE\"
Write-Host "::add-path::$env:RUNNER_WORKSPACE\nasm-2.14.02"
echo "$env:RUNNER_WORKSPACE\nasm-2.14.02" >> $GITHUB_PATH
winbuild\depends\gs9533w32.exe /S
Write-Host "::add-path::C:\Program Files (x86)\gs\gs9.53.3\bin"
echo "C:\Program Files (x86)\gs\gs9.53.3\bin" >> $GITHUB_PATH
xcopy /s winbuild\depends\test_images\* Tests\images\
shell: pwsh
@ -224,7 +224,7 @@ jobs:
- uses: actions/checkout@v2
- name: Set up shell
run: echo ::add-path::C:\msys64\usr\bin\
run: echo "C:\msys64\usr\bin\" >> $GITHUB_PATH
shell: pwsh
- name: Install Dependencies