From cfff18c57482adfaaae40c6e066ee88eeab7b76d Mon Sep 17 00:00:00 2001 From: gavicoding Date: Sun, 22 Nov 2026 10:18:49 -0300 Subject: [PATCH] ci: add Windows .NET 8 Release build workflow --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ad840ea --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Windows .NET Build + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup .NET 8 SDK + uses: actions/setup-dotnet@v4 + with: + dotnet-version: "8.0.x" + + - name: Restore dependencies + run: dotnet restore OtimizaPC.sln + + - name: Build Release configuration + run: dotnet build OtimizaPC.sln -c Release --no-restore