Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Update msbuild.yml and RegistryHelper.sln
Browse files Browse the repository at this point in the history
- Changed the build target from "RegistryHelper" to "RegistryInterface"
- Updated the file path for copying the .h file to the Release folder
- Modified the artifact path for uploading, including the updated library and pdb files
- Added a new project section for Workflows in RegistryHelper.sln
  • Loading branch information
Arteiii committed Feb 16, 2024
1 parent 5827516 commit 7cec417
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ jobs:

- name: Build .lib file
run: |
msbuild /p:Configuration=Release /t:RegistryHelper /p:Platform=x64 RegistryHelper.sln
msbuild /p:Configuration=Release /t:RegistryInterface /p:Platform=x64 RegistryHelper.sln
- name: Copy .h file to Release folder
run: |
copy RegistryHelper\RegistryHelper.h x64\Release
copy RegistryInterface\RegistryHelper.h x64\Release
- name: Upload to Release
uses: actions/upload-artifact@v2
with:
name: lib-artifact
path: |
x64/Release/RegistryHelper.lib
x64/Release/RegistryHelper.pdb
x64/Release/RegistryInterface.lib
x64/Release/RegistryInterface.pdb
x64/Release/RegistryHelper.h
release:
Expand Down
9 changes: 9 additions & 0 deletions RegistryHelper.sln
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Example", "Example\Example.
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RegistryInterface", "RegistryInterface\RegistryInterface.vcxproj", "{40299226-5106-4793-A43D-9BBB17111B64}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{B8AB6EE7-E785-4236-AB6D-F0F24EF1DE76}"
ProjectSection(SolutionItems) = preProject
.github\workflows\ClangFormat.yml = .github\workflows\ClangFormat.yml
.github\workflows\msbuild.yml = .github\workflows\msbuild.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Expand Down Expand Up @@ -43,6 +49,9 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{B8AB6EE7-E785-4236-AB6D-F0F24EF1DE76} = {3587BC45-E1D1-4FCE-9F36-D4BD660FB262}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6B012E4D-3A77-4E50-83D9-5040920D82DE}
EndGlobalSection
Expand Down

0 comments on commit 7cec417

Please sign in to comment.