Skip to content

Commit

Permalink
use the MSI name in the correct folder (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
APErebus authored Jan 24, 2025
1 parent 526da8e commit a390527
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go-releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ jobs:
name="octopus_${{ needs.goreleaser.outputs.version }}_windows_amd64"
version="$(echo -e ${{ needs.goreleaser.outputs.version }} | sed 's/-.*$//')"
"${MSBUILD_PATH}\MSBuild.exe" ./build/windows/octopus.wixproj -p:SourceDir="$PWD" -p:OutputPath="$PWD" -p:OutputName="$name" -p:ProductVersion="$version"
echo "msi_name=$name" >> "$GITHUB_OUTPUT"
- name: Install AzureSignTool
run: dotnet tool install --global AzureSignTool
Expand Down Expand Up @@ -180,7 +181,7 @@ jobs:

- name: Copy MSI into artifacts folder
shell: bash
run: cp "${{ steps.buildmsi.outputs.msi }}" "artifacts/${{ steps.buildmsi.outputs.msi }}"
run: cp "${{ steps.buildmsi.outputs.msi }}" "${{ github.workspace }}/artifacts/${{ steps.buildmsi.outputs.msi_name }}"

- name: Re-upload artifacts with MSI to octopus-cli.${{ needs.goreleaser.outputs.version }}
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit a390527

Please # to comment.