Skip to content

Commit

Permalink
misc: Fix target name
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiga74164 committed Apr 1, 2024
1 parent dc87f83 commit 32c00e2
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
40 changes: 40 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

on:
push:
branches: [ main ]

env:
SOLUTION_FILE_PATH: ./SoloLevelling.sln
BUILD_CONFIGURATION: Release

permissions:
contents: read

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/[email protected]
with:
submodules: recursive

- name: Add MSBuild to PATH
uses: microsoft/[email protected]

- name: Create PostBuildEvent.cmd
run: |
$currentDir = Get-Location
echo cls > "$currentDir\PostBuildEvent.cmd"
- name: Build
run: |
msbuild /m /p:Configuration=${{ env.BUILD_CONFIGURATION }} ${{ env.SOLUTION_FILE_PATH }}
- name: Upload Build Artifact
uses: actions/[email protected]
with:
name: build-artifact
path: ./x64/Release/*
if-no-files-found: error
2 changes: 1 addition & 1 deletion src/SoloLevelling.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>winhttp.dll</TargetName>
<TargetName>winhttp</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
Expand Down

0 comments on commit 32c00e2

Please sign in to comment.