diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..6d1eb2a
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -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/checkout@v4.1.1
+ with:
+ submodules: recursive
+
+ - name: Add MSBuild to PATH
+ uses: microsoft/setup-msbuild@v1.1
+
+ - 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/upload-artifact@v3.1.0
+ with:
+ name: build-artifact
+ path: ./x64/Release/*
+ if-no-files-found: error
\ No newline at end of file
diff --git a/src/SoloLevelling.vcxproj b/src/SoloLevelling.vcxproj
index cec1622..70523d9 100644
--- a/src/SoloLevelling.vcxproj
+++ b/src/SoloLevelling.vcxproj
@@ -35,7 +35,7 @@
- winhttp.dll
+ winhttp