Skip to content

Commit 6e56a87

Browse files
author
nate smith
committed
attempt to use an absolute path to msbuild
1 parent 44f9d03 commit 6e56a87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/releases.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,17 @@ jobs:
133133
env:
134134
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
135135
- name: Prepare PATH
136+
id: setupmsbuild
136137
uses: microsoft/setup-msbuild@v1.0.3
137138
- name: Build MSI
138139
id: buildmsi
139140
shell: bash
140141
env:
141142
ZIP_FILE: ${{ steps.download_exe.outputs.zip }}
143+
MSBUILD_PATH: ${{ steps.setupmsbuild.outputs.msbuildPath }}
142144
run: |
143145
name="$(basename "$ZIP_FILE" ".zip")"
144-
msbuild .\build\windows\gh.wixproj /p:SourceDir="$PWD" /p:OutputPath="$PWD" /p:OutputName="$name" /p:ProductVersion="${GITHUB_REF#refs/tags/v}"
146+
$MSBUILD_PATH/msbuild .\build\windows\gh.wixproj /p:SourceDir="$PWD" /p:OutputPath="$PWD" /p:OutputName="$name" /p:ProductVersion="${GITHUB_REF#refs/tags/v}"
145147
- name: Obtain signing cert
146148
id: obtain_cert
147149
env:

0 commit comments

Comments
 (0)