From 500aaf174df9ab403d9fe1ca6d39bc9976c16f36 Mon Sep 17 00:00:00 2001 From: GenjiruSUchiwa <60622115+GenjiruSUchiwa@users.noreply.github.com> Date: Mon, 6 May 2024 22:08:00 +0200 Subject: [PATCH] Create build.yml wip: configure github actions --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..eaf0062 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net + +name: .NET + +on: + push: + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore