We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5d6028 commit b750a5fCopy full SHA for b750a5f
.github/workflows/build-wheels-cuda-win.yml
@@ -113,10 +113,16 @@ jobs:
113
$tagVer = $wheel.name.split('-')[1]
114
Write-Output "TAG_VERSION=$tagVer" >> $env:GITHUB_ENV
115
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
+
122
- uses: softprops/action-gh-release@v2
123
with:
124
files: dist/*
- # Set tag_name to <tag>-cu<cuda_version>
- 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 }}
127
env:
128
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments