8000 CI Fixes pull request pull for gpu build (#29186) · scikit-learn/scikit-learn@1009ca4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1009ca4

Browse files
authored
CI Fixes pull request pull for gpu build (#29186)
1 parent 23b4ec8 commit 1009ca4

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/cuda-gpu-ci.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,9 @@ jobs:
1818
with:
1919
python-version: '3.12'
2020
- name: Checkout main repository
21-
uses: actions/checkout@v2
22-
- name: Checkout a particular Pull Request
23-
if: inputs.pr_id
24-
env:
25-
PR_ID: ${{ inputs.pr_id }}
26-
GH_TOKEN: ${{ github.token }}
27-
run: |
28-
gh pr checkout ${{ env.PR_ID }}
21+
uses: actions/checkout@v4
22+
with:
23+
ref: pull/${{ inputs.pr_id }}/head
2924
- name: Cache conda environment
3025
id: cache-conda
3126
uses: actions/cache@v3

0 commit comments

Comments
 (0)
0