Skip to content

Commit b750a5f

Browse files
committed
Build Wheels (CUDA) for Windows workflow append build date tag
1 parent a5d6028 commit b750a5f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

+8-2
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,16 @@ jobs:
113113
$tagVer = $wheel.name.split('-')[1]
114114
Write-Output "TAG_VERSION=$tagVer" >> $env:GITHUB_ENV
115115
116+
- name: Get Current Date
117+
id: get-date
118+
run: |
119+
$currentDate = Get-Date -UFormat "%Y%m%d"
120+
Write-Output "BUILD_DATE=$currentDate" >> $env:GITHUB_ENV
121+
116122
- uses: softprops/action-gh-release@v2
117123
with:
118124
files: dist/*
119-
# Set tag_name to <tag>-cu<cuda_version>
120-
tag_name: v${{ env.TAG_VERSION }}-cu${{ env.CUDA_VERSION }}-win
125+
# Set tag_name to <tag>-cu<cuda_version>-<date>-win
126+
tag_name: v${{ env.TAG_VERSION }}-cu${{ env.CUDA_VERSION }}-win-${{ env.BUILD_DATE }}
121127
env:
122128
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)