From 290272719d7a773ea681a420dea3632914f6809c Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Fri, 9 Oct 2020 11:42:25 -0700 Subject: [PATCH] Remove deprecated add-path commands and use $GITHUB_PATH instead. (#5232) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9c217501..b8fefd401 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' -- 2.30.2