name: Build and Save C# Binary on Windows on: push: branches: - master 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 hypr-wellbeing-windows.csproj - name: Build project run: dotnet publish hypr-wellbeing-windows.csproj - name: Upload binary artifact uses: actions/upload-artifact@v4 with: name: csharp-binary path: | **/bin/Release/net8.0/**/*.exe **/bin/Release/net8.0/**/*.dll