diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/windows.yaml | 36 |
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 + |
