diff .github/workflows/ci-windows.yaml @ 22561:392c7bd6fa36 v8.2.1829

patch 8.2.1829: warnings when executing Github actions Commit: https://github.com/vim/vim/commit/bd6428b9e79ed85b54ea7eaa11871fa09d63ab6f Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 10 22:34:36 2020 +0200 patch 8.2.1829: warnings when executing Github actions Problem: Warnings when executing Github actions. Solution: Use another method to set environment variables. (Ken Takata, closes #7107)
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Oct 2020 22:45:05 +0200
parents 294f27aeced4
children f9d1d2acb2c7
line wrap: on
line diff
--- a/.github/workflows/ci-windows.yaml
+++ b/.github/workflows/ci-windows.yaml
@@ -74,8 +74,8 @@ jobs:
         git config --global core.autocrlf input
         python_dir=$(cat "/proc/${{ matrix.cygreg }}/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON_VER_DOT}/InstallPath/@")
         python3_dir=$(cat "/proc/${{ matrix.cygreg }}/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON3_VER_DOT}${{ matrix.pyreg }}/InstallPath/@")
-        echo "::set-env name=PYTHON_DIR::$python_dir"
-        echo "::set-env name=PYTHON3_DIR::$python3_dir"
+        echo "PYTHON_DIR=$python_dir" >> $GITHUB_ENV
+        echo "PYTHON3_DIR=$python3_dir" >> $GITHUB_ENV
 
     - uses: msys2/setup-msys2@v2
       if: matrix.toolchain == 'mingw'