Skip to content

Portable Tool for an Ideal Windows Setup

add actions workflow for building

Greedeksd84f3044631f
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 00000000..19d1b89e
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,31 @@
+name: Build .NET Framework 4.8 App
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+jobs:
+ build:
+ runs-on: windows-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Setup MSBuild
+ uses: microsoft/setup-msbuild@v2
+
+ - name: Restore NuGet packages
+ run: nuget restore GTweak.sln
+
+ - name: Build the solution
+ run: msbuild GTweak.sln /t:Rebuild /p:Configuration=Release
+
+ - name: Upload Build Artifacts
+ uses: actions/upload-artifact@v4
+ with:
+ name: build
+ path: |
+ **/bin/Release/*
\ No newline at end of file