Skip to content

Commit 05bd391

Browse files
committed
Update workflows
1 parent febfc26 commit 05bd391

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
branches: [master]
55
pull_request:
66
branches: [master]
7+
permissions:
8+
contents: read
79

810
jobs:
911
build_wheels:
@@ -26,8 +28,11 @@ jobs:
2628

2729
- name: Install CUDA (Linux/Windows)
2830
if: matrix.os == 'ubuntu-latest' || matrix.os == 'windows-latest'
29-
uses: Jimver/cuda-toolkit@master
31+
uses: Jimver/cuda-toolkit@v0.2.23
3032
id: cuda-toolkit
33+
with:
34+
method: 'network'
35+
sub-packages: '["nvcc"]'
3136

3237
- name: Build wheels
3338
run: python -m cibuildwheel --output-dir wheelhouse

0 commit comments

Comments
 (0)