summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2020-10-15 21:11:28 +0200
committerJoel Rosdahl <joel@rosdahl.net>2020-10-15 21:32:24 +0200
commit2cbb40ba5319a075003da13772b2dec3f0fa21be (patch)
tree291401d2956a7f08cac5118f642892af67b0ed39 /ci
parentb333a952b15fef9df0c09ab11fb086f04289165c (diff)
downloadccache-2cbb40ba5319a075003da13772b2dec3f0fa21be.tar.gz
Use $GITHUB_PATH to set PATH from install-cuda
The ::set-env command is deprecated according to <https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/>.
Diffstat (limited to 'ci')
-rwxr-xr-xci/install-cuda2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/install-cuda b/ci/install-cuda
index 97f098df..169f2a84 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