From 7512b2191602aba85af17216c4e36c81da9ff93f Mon Sep 17 00:00:00 2001 From: Mateusz Skoczek Date: Thu, 15 Jan 2026 20:03:14 +0100 Subject: [PATCH] Add GitHub Actions workflow for NuGet package build --- .github/workflows/pull_request_main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pull_request_main.yml diff --git a/.github/workflows/pull_request_main.yml b/.github/workflows/pull_request_main.yml new file mode 100644 index 0000000..88e58e4 --- /dev/null +++ b/.github/workflows/pull_request_main.yml @@ -0,0 +1,22 @@ +name: Build NuGet package on main branch pull request + +on: + pull_request: + branches: + - "main" + paths: + - "TimetableDesigner.Backend.Events**" + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v6.0.2 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 10.0.x + - name: Build + run: dotnet build