From 51c1c959ad40eb2ac4f575f475543e81e623a60c Mon Sep 17 00:00:00 2001 From: fedpo Date: Tue, 17 Feb 2026 13:22:47 -0300 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20.gitea/workflows/build.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..7f5968e --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,32 @@ +name: Build .NET Project + +on: + push: + branches: + - main + - develop + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout código + uses: actions/checkout@v4 + + - name: Setup .NET SDK + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '8.0.x' # Cambia a tu versión (6.0, 7.0, 8.0...) + + - name: Restaurar dependencias + run: dotnet restore + + - name: Compilar + run: dotnet build --configuration Release --no-restore + + - name: Ejecutar tests (opcional) + run: dotnet test --configuration Release --no-build --verbosity normal \ No newline at end of file