From 48b25f06ba1150beed711d1bd2b8240fa935d62a Mon Sep 17 00:00:00 2001 From: nulano Date: Tue, 6 Oct 2020 17:01:04 +0200 Subject: [PATCH 1/2] replace deprecated add-path and set-env --- .github/workflows/test-windows.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 190458e26..6335aad2c 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -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 From f4f58a121490a7b912b30f785c662716503cd68a Mon Sep 17 00:00:00 2001 From: nulano Date: Tue, 6 Oct 2020 17:07:55 +0200 Subject: [PATCH 2/2] typo --- .github/workflows/test-windows.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 6335aad2c..a6e85b688 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -54,7 +54,7 @@ jobs: - name: Set up TCL if: "contains(matrix.python-version, 'pypy')" - run: echo "TCL_LIBRARY=$env:pythonLocation\tcl\tcl8.5" >> $GITHUB_ENV + run: echo "TCL_LIBRARY=$env:pythonLocation\tcl\tcl8.5" >> $env: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\" - echo "$env:RUNNER_WORKSPACE\nasm-2.14.02" >> $GITHUB_PATH + echo "$env:RUNNER_WORKSPACE\nasm-2.14.02" >> $env:GITHUB_PATH winbuild\depends\gs9533w32.exe /S - echo "C:\Program Files (x86)\gs\gs9.53.3\bin" >> $GITHUB_PATH + echo "C:\Program Files (x86)\gs\gs9.53.3\bin" >> $env: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 "C:\msys64\usr\bin\" >> $GITHUB_PATH + run: echo "C:\msys64\usr\bin\" >> $env:GITHUB_PATH shell: pwsh - name: Install Dependencies