Skip to content

Commit

Permalink
Fix build 1
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaProductions committed May 29, 2024
1 parent b56bf64 commit 7a1246f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ jobs:
run: nuget restore Rectify11Installer.sln

- name: Build
run: msbuild Rectify11Installer.sln /p:Configuration=Release /p:platform=x64

- name: Publish
run: dotnet publish Rectify11Installer.sln --artifacts-path Rectify11Installer\bin\output\Release\
run: msbuild Rectify11Installer.sln /p:Configuration=Release /p:platform=x64 /p:PublishProfile=FolderProfile

- name: Upload Rectify11Installer
uses: actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions Rectify11.Phase2/Rectify11.Phase2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<PropertyGroup>
<PreBuildCommands>copy /Y "$(TargetDir)Rectify11.Phase2.dll" "$(SolutionDir)Rectify11Installer/Resources/Rectify11.Phase2.dll" &amp;&amp; copy /Y "$(TargetDir)Rectify11.Phase2.exe" "$(SolutionDir)Rectify11Installer/Resources/Rectify11.Phase2.exe"</PreBuildCommands>
<PostBuildCommands>copy /Y "$(TargetDir)Rectify11.Phase2.dll" "$(SolutionDir)Rectify11Installer/Resources/Rectify11.Phase2.dll" &amp;&amp; copy /Y "$(TargetDir)Rectify11.Phase2.exe" "$(SolutionDir)Rectify11Installer/Resources/Rectify11.Phase2.exe"</PostBuildCommands>
</PropertyGroup>
<Exec Command="$(PreBuildCommands)" />
<Exec Command="$(PostBuildCommands)" />
</Target>
</Project>

0 comments on commit 7a1246f

Please sign in to comment.