From 18e100d312b9fe04079d993aebb2b68dd145daa3 Mon Sep 17 00:00:00 2001 From: Pierce Freeman Date: Fri, 2 Jun 2023 19:01:44 -0700 Subject: [PATCH] Release is actually unsupported --- .github/workflows/cuda/cu102-Linux.sh | 4 +--- .github/workflows/cuda/cu113-Linux.sh | 4 +--- .github/workflows/cuda/cu116-Linux.sh | 4 +--- .github/workflows/publish.yml | 2 -- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cuda/cu102-Linux.sh b/.github/workflows/cuda/cu102-Linux.sh index ac38052..ada39d5 100644 --- a/.github/workflows/cuda/cu102-Linux.sh +++ b/.github/workflows/cuda/cu102-Linux.sh @@ -1,9 +1,7 @@ #!/bin/bash -echo $OS_VERSION - # Strip the periods from the version number -OS_VERSION=$(echo $OS_VERSION | tr -d .) +OS_VERSION=$(echo $(lsb_release -sr) | tr -d .) OS=ubuntu${OS_VERSION} wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin diff --git a/.github/workflows/cuda/cu113-Linux.sh b/.github/workflows/cuda/cu113-Linux.sh index 0518a09..0b804d9 100644 --- a/.github/workflows/cuda/cu113-Linux.sh +++ b/.github/workflows/cuda/cu113-Linux.sh @@ -1,9 +1,7 @@ #!/bin/bash -echo $OS_VERSION - # Strip the periods from the version number -OS_VERSION=$(echo $OS_VERSION | tr -d .) +OS_VERSION=$(echo $(lsb_release -sr) | tr -d .) OS=ubuntu${OS_VERSION} wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin diff --git a/.github/workflows/cuda/cu116-Linux.sh b/.github/workflows/cuda/cu116-Linux.sh index d717ab4..68e9ed4 100644 --- a/.github/workflows/cuda/cu116-Linux.sh +++ b/.github/workflows/cuda/cu116-Linux.sh @@ -1,9 +1,7 @@ #!/bin/bash -echo $OS_VERSION - # Strip the periods from the version number -OS_VERSION=$(echo $OS_VERSION | tr -d .) +OS_VERSION=$(echo $(lsb_release -sr) | tr -d .) OS=ubuntu${OS_VERSION} wget -nv https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c394348..0fc0281 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,8 +68,6 @@ jobs: - name: Install CUDA ${{ matrix.cuda-version }} if: ${{ matrix.cuda-version != 'cpu' }} - env: - OS_VERSION: ${{ runner.release }} run: | bash .github/workflows/cuda/cu${{ matrix.cuda-version }}-${{ runner.os }}.sh shell: