diff --git a/.github/workflows/dotnet_build_master.yml b/.github/workflows/dotnet_build_master.yml new file mode 100644 index 0000000000..534b6d24d9 --- /dev/null +++ b/.github/workflows/dotnet_build_master.yml @@ -0,0 +1,22 @@ +# 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: Build contributors PRs to master + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 8.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build -c Release --no-restore