Skip to content

Commit 60be9d0

Browse files
authored
Update upload_release_build.yml
1 parent f7260b5 commit 60be9d0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/upload_release_build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,11 @@ jobs:
183183
}
184184
185185
$asset_path = $artifact.FullName
186-
$asset_name = $artifact.Name
186+
187+
# 2. concat new name
188+
$baseName = [System.IO.Path]::GetFileNameWithoutExtension($artifact.Name)
189+
$extension = $artifact.Extension
190+
$asset_name = "{0}_${{matrix.type}}{1}" -f $baseName, $extension
187191
188192
Write-Host "Found artifact path: $asset_path"
189193
Write-Host "Final asset name: $asset_name"

0 commit comments

Comments
 (0)