Skip to content

Commit 430d8b7

Browse files
authored
Update upload_release_build.yml
1 parent af759fd commit 430d8b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/upload_release_build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,7 @@ jobs:
186186
187187
# 2. concat new name
188188
$extension = $artifact.Extension
189-
$buildType = "${{ matrix.type }}"
190-
$lowerBuildType = "$buildType.Substring(0, 1).ToLower() + $buildType.Substring(1)
191-
$asset_name = "compose-fluent-design-gallery-{0}-${{ needs.prepare-release.outputs.release_tag }}{1}" -f $lowerBuildType, $extension
189+
$asset_name = "compose-fluent-design-gallery-${{ toLower(matrix.type) }}-${{ needs.prepare-release.outputs.release_tag }}{0}" -f $extension
192190
193191
Write-Host "Found artifact path: $asset_path"
194192
Write-Host "Final asset name: $asset_name"

0 commit comments

Comments
 (0)