Skip to content

Commit ae175fe

Browse files
author
Olivier Chafik
committed
ci + cuda: checkout w/ history when packaging needed
1 parent 89da8df commit ae175fe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -945,9 +945,11 @@ jobs:
945945
name: ubuntu-22-cuda (${{ matrix.cuda.version }} cap ${{ matrix.cuda.cap }}, e.g. ${{ matrix.cuda.example }})
946946

947947
steps:
948-
- name: Clone
949-
id: checkout
950-
uses: actions/checkout@v4
948+
- uses: actions/checkout@v4
949+
if: ${{ matrix.cuda.package }}
950+
951+
- uses: actions/checkout@v4
952+
if: ${{ !matrix.cuda.package }}
951953
with:
952954
fetch-depth: 0
953955

0 commit comments

Comments
 (0)