From 8798ed68511648a7d1a087261b99d906df50d31c Mon Sep 17 00:00:00 2001 From: Macey Dobrowsky <11599974+doebrowsk@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:42:16 -0400 Subject: [PATCH] include inputs.release_version in zip name --- .github/workflows/dotnet-build-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-build-and-release.yml b/.github/workflows/dotnet-build-and-release.yml index 81f24d2..88ce090 100644 --- a/.github/workflows/dotnet-build-and-release.yml +++ b/.github/workflows/dotnet-build-and-release.yml @@ -119,7 +119,7 @@ jobs: foreach ($platform in $platforms) { $platform = $platform.Trim() $sourcePath = "${{ github.workspace }}\${{ inputs.release_dir }}\$platform\" - $zipPath = "$outputDir\${{ env.REPO_NAME }}_$platform.zip" + $zipPath = "$outputDir\${{ env.REPO_NAME }}_${{ inputs.release_version }}_$platform.zip" Get-ChildItem -File -Path $sourcePath Compress-Archive -Path $sourcePath -DestinationPath $zipPath -Force -Verbose }