Remove deprecated add-path commands and use $GITHUB_PATH instead. (#5232)
authorMathias Preiner <mathias.preiner@gmail.com>
Fri, 9 Oct 2020 18:42:25 +0000 (11:42 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Oct 2020 18:42:25 +0000 (11:42 -0700)
.github/workflows/ci.yml

index e9c217501331b190dad158c913d7a9d35cc2e1fa..b8fefd401ea24f007a6c3c88109356fa03d5da4c 100644 (file)
@@ -72,7 +72,7 @@ jobs:
         python3 -m pip install toml
         python3 -m pip install setuptools
         python3 -m pip install pexpect
-        echo "::add-path::/usr/lib/ccache"
+        echo "/usr/lib/ccache" >> $GITHUB_PATH
 
     # Note: macOS comes with a libedit; it does not need to brew-installed
     - name: Install Packages (macOS)
@@ -88,14 +88,14 @@ jobs:
         python3 -m pip install toml
         python3 -m pip install setuptools
         python3 -m pip install pexpect
-        echo "::add-path::/usr/local/opt/ccache/libexec"
+        echo "/usr/local/opt/ccache/libexec" >> $GITHUB_PATH
 
     - name: Install Cython
       if: matrix.python-bindings && runner.os == 'Linux'
       run: |
         python3 -m pip install \
           Cython==0.29.* --install-option="--no-cython-compile"
-        echo "::add-path::$(python3 -m site --user-base)/bin"
+        echo "$(python3 -m site --user-base)/bin" >> $GITHUB_PATH
 
     - name: Install Cython (macOS)
       if: matrix.python-bindings && runner.os == 'macOS'