From b4af83a7d78637084ea6da04bc80e2ec4a2d0076 Mon Sep 17 00:00:00 2001 From: Namu Date: Sat, 20 Dec 2025 22:04:49 +0100 Subject: [PATCH] Feat: Add build action --- .gitea/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..cccdd6b --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,28 @@ +name: build + +on: + push: + branches: + - '**' + pull_request: + branches: + - '**' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0.x' + + - name: Restore + run: dotnet restore + + - name: Build + run: dotnet build --no-restore --configuration Release