|
22 | 22 | $matrix = @{ |
23 | 23 | 'os' = @('ubuntu-20.04', 'windows-latest') |
24 | 24 | 'pyver' = @("3.10", "3.11", "3.12") |
25 | | - 'cuda' = @("12.1.1", "12.2.2", "12.3.2") |
| 25 | + 'cuda' = @("12.1.1", "12.2.2", "12.3.2", "12.4.1") |
26 | 26 | 'releasetag' = @("basic") |
27 | 27 | } |
28 | 28 |
|
|
47 | 47 | with: |
48 | 48 | submodules: "recursive" |
49 | 49 |
|
50 | | - - uses: actions/setup-python@v4 |
| 50 | + - uses: actions/setup-python@v5 |
51 | 51 | with: |
52 | 52 | python-version: ${{ matrix.pyver }} |
53 | 53 |
|
|
74 | 74 | if: runner.os == 'Windows' && steps.vs-integration-cache.outputs.cache-hit != 'true' |
75 | 75 | run: | |
76 | 76 | if ($env:CUDAVER -eq '12.1.1') {$x = '12.1.0'} else {$x = $env:CUDAVER} |
77 | | - $links = (Invoke-RestMethod 'https://github.com/Jimver/cuda-toolkit/raw/dc0ca7bb29c5a92f7a963d3d5c93f8d59765136a/src/links/windows-links.ts').Trim().split().where({$_ -ne ''}) |
| 77 | + $links = (Invoke-RestMethod 'https://raw.githubusercontent.com/Jimver/cuda-toolkit/master/src/links/windows-links.ts').Trim().split().where({$_ -ne ''}) |
78 | 78 | for ($i=$q=0;$i -lt $links.count -and $q -lt 2;$i++) {if ($links[$i] -eq "'$x',") {$q++}} |
79 | 79 | Invoke-RestMethod $links[$i].Trim("'") -OutFile 'cudainstaller.zip' |
80 | 80 | & 'C:\Program Files\7-Zip\7z.exe' e cudainstaller.zip -oMSBuildExtensions -r *\MSBuildExtensions\* > $null |
@@ -122,7 +122,7 @@ jobs: |
122 | 122 | # write the build tag to the output |
123 | 123 | Write-Output "CUDA_VERSION=$cudaVersion" >> $env:GITHUB_ENV |
124 | 124 |
|
125 | | - - uses: softprops/action-gh-release@v1 |
| 125 | + - uses: softprops/action-gh-release@v2 |
126 | 126 | with: |
127 | 127 | files: dist/* |
128 | 128 | # Set tag_name to <tag>-cu<cuda_version> |
|
0 commit comments