From 5f4b4e4b7c27b70f7fffc3c871442e30ec58f61f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= <1175054+carlossanlop@users.noreply.github.com> Date: Wed, 17 Jul 2024 16:09:01 -0700 Subject: [PATCH] Add github workflow basic build yml --- .github/workflows/dotnet.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..eeee5fe --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,21 @@ +name: .NET + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '8.0.x' + - name: Restore source-indexer.sln + run: dotnet restore src/source-indexer.sln + - name: Build source-indexer.sln + run: dotnet build --no-restore src/source-indexer.sln