aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2025-11-10 15:36:48 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2025-11-10 15:36:48 +0530
commit9b0f0808c4f290a511573bfbaee9e7b545cebf71 (patch)
treef79482c9c67232f951062f5c0e611ff358444069 /.github
parent80ba776bfae57f2622caa0ecf8a5eb3821ab08b0 (diff)
downloadhypr-wellbeing-9b0f0808c4f290a511573bfbaee9e7b545cebf71.zip
hypr-wellbeing-9b0f0808c4f290a511573bfbaee9e7b545cebf71.tar.gz
chore: widnows support added
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yaml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml
new file mode 100644
index 0000000..49014c4
--- /dev/null
+++ b/.github/workflows/windows.yaml
@@ -0,0 +1,36 @@
+name: Build and Save C# Binary on Windows
+
+on:
+ push:
+ branches:
+ - main
+ pull_request:
+ branches:
+ - main
+
+jobs:
+ build:
+ runs-on: windows-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Setup .NET SDK
+ uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: '8.x'
+
+ - name: Restore dependencies
+ run: dotnet restore
+
+ - name: Build project
+ run: dotnet publish hypr-wellbeing-windows.csproj
+
+ - name: Upload binary artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: csharp-binary
+ path: |
+ **/bin/Release/net8.0/**/*.exe
+ **/bin/Release/net8.0/**/*.dll
+