From: Joel Rosdahl Date: Thu, 15 Oct 2020 19:11:28 +0000 (+0200) Subject: Use $GITHUB_PATH to set PATH from install-cuda X-Git-Tag: v4.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cbb40ba5319a075003da13772b2dec3f0fa21be;p=thirdparty%2Fccache.git Use $GITHUB_PATH to set PATH from install-cuda The ::set-env command is deprecated according to . --- diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0c90161e6..5ce3c7fd4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -173,7 +173,7 @@ jobs: - name: Install CUDA if: matrix.config.CUDA != '' - run: sudo --preserve-env=CUDA ci/install-cuda + run: sudo --preserve-env=CUDA,GITHUB_PATH ci/install-cuda env: CUDA: ${{ matrix.config.CUDA }} diff --git a/ci/install-cuda b/ci/install-cuda index 97f098dff..169f2a844 100755 --- a/ci/install-cuda +++ b/ci/install-cuda @@ -29,4 +29,4 @@ retry sudo apt-get clean cuda_home=/usr/local/cuda-${CUDA:0:4} $cuda_home/bin/nvcc --version -echo "::set-env name=PATH::${cuda_home}/bin:${PATH}" +echo "${cuda_home}/bin" >>$GITHUB_PATH