From 6c4410554180a94a1fefbeb77f334de8e82d4a77 Mon Sep 17 00:00:00 2001 From: MOCHIZUKI Natsune Date: Tue, 16 Jan 2024 19:28:32 +0900 Subject: [PATCH] chore: add github actions for buid --- .github/workflows/dotnet-build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/dotnet-build.yml diff --git a/.github/workflows/dotnet-build.yml b/.github/workflows/dotnet-build.yml new file mode 100644 index 0000000..3362624 --- /dev/null +++ b/.github/workflows/dotnet-build.yml @@ -0,0 +1,26 @@ +name: Build with .NET + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Setup .NET tools + uses: actions/setup-dotnet@v4 + with: + dotnet-version: "8.0.x" + + - name: Restore NuGet dependencies + run: | + dotnet restore ./src/Plana.sln + + - name: Build + run: | + dotnet build ./src/Plana.sln --no-restore --configuration=Release