Skip to content

Commit b0ea709

Browse files
committed
Update build-wheels-cuda-win.yml: use astral-sh/setup-uv@v6 for setup-uv option
1 parent 0d2c985 commit b0ea709

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build-wheels-cuda-win.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
vs-version: '[17.12,17.14)'
5757
msbuild-architecture: x64
5858

59-
- uses: actions/checkout@main
59+
- uses: actions/checkout@v4
6060
with:
6161
submodules: "recursive"
6262

@@ -68,10 +68,13 @@ jobs:
6868
with:
6969
cuda: "${{ matrix.cuda }}"
7070

71+
# from astral-sh/setup-uv
7172
- name: Install the latest version of uv and set the python version
72-
uses: astral-sh/setup-uv@main
73+
uses: astral-sh/setup-uv@v6
7374
with:
7475
python-version: ${{ matrix.pyver }}
76+
activate-environment: true
77+
enable-cache: true
7578

7679
- name: Install Dependencies
7780
run: |
@@ -124,6 +127,6 @@ jobs:
124127
with:
125128
files: dist/*
126129
# Set tag_name to <tag>-cu<cuda_version>-<date>-win
127-
tag_name: v${{ env.TAG_VERSION }}-cu${{ env.CUDA_VERSION }}-win-${{ env.BUILD_DATE }}
130+
tag_name: v${{ env.TAG_VERSION }}-cu${{ env.CUDA_VERSION }}-${{ env.AVXVER }}-win-${{ env.BUILD_DATE }}
128131
env:
129132
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)