File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ jobs:
133133 run : |
134134 name="$(basename "$ZIP_FILE" ".zip")"
135135 printf "::set-output name=msi::%s\n" "$name.msi"
136- msbuild .\build\windows\gh.wixproj /p:SourceDir="$PWD" /p:OutputName="$name" /p:ProductVersion="${GITHUB_REF#refs/tags/}"
136+ msbuild .\build\windows\gh.wixproj /p:SourceDir="$PWD" /p:OutputPath="$PWD" /p: OutputName="$name" /p:ProductVersion="${GITHUB_REF#refs/tags/}"
137137 - name : Obtain signing cert
138138 id : obtain_cert
139139 env :
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <PropertyGroup >
4- <Configuration Condition = " '$(Configuration)' == '' " >Debug </Configuration >
4+ <Configuration >Release </Configuration >
55 <Platform Condition =" '$(Platform)' == ''" >x64</Platform >
66 <ProductVersion Condition =" '$(ProductVersion)' == ''" >0.1.0</ProductVersion >
77 <OutputName Condition =" '$(OutputName)' == ''" >$(MSBuildProjectName)</OutputName >
88 <OutputType >package</OutputType >
9- <RepoPath >$(MSBuildProjectDirectory)\..\..</RepoPath >
10- <OutputPath >$(RepoPath)\ bin\$(Platform)\$(Configuration )\</OutputPath >
11- <IntermediateOutputPath >$(RepoPath)\ bin\obj\$(Platform)\$(Configuration )\</IntermediateOutputPath >
9+ <RepoPath >$([MSBuild]::NormalizeDirectory($( MSBuildProjectDirectory)\..\..)) </RepoPath >
10+ <OutputPath Condition = " '$(OutputPath)' == '' " >$(RepoPath)bin\$(Platform)\</OutputPath >
11+ <IntermediateOutputPath >$(RepoPath)bin\obj\$(Platform)\</IntermediateOutputPath >
1212 <DefineConstants >
1313 $(DefineConstants);
1414 ProductVersion=$(ProductVersion);
3131 <WixExtension Include =" WixUIExtension" />
3232 <WixExtension Include =" WixUtilExtension" />
3333 </ItemGroup >
34+ <Target Name =" SetStepOutput" AfterTargets =" Build" Condition =" '$(GITHUB_ACTIONS)' != ''" >
35+ <!-- Make sure the correct target path is always set as the step output -->
36+ <Message Importance =" high" Text =" ::set-output name=msi::$(TargetPath)" />
37+ </Target >
3438 <Import Project =" $(WixTargetsPath)" />
3539</Project >
You can’t perform that action at this time.
0 commit comments