From 8a1f794ad4d3ccf6ad3eca6e0e94607f56ff164e Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Wed, 5 Jun 2024 22:33:39 +0200 Subject: [PATCH] Run full build on GitHub Actions --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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 000000000..320d57ac0 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: Full build + +# Workflow Trigger +on: + # Trigger the workflow on a pull request to any branch + pull_request: + +jobs: + Build: + name: Run full build + runs-on: ubuntu-22.04 + steps: + - name: Get the sources + uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 + - name: Fetch all tags and branches + run: git fetch --prune --unshallow + - name: Install .NET + uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4 + with: + # .NET 5 required for GitVersion + dotnet-version: | + 5.x + 6.x + 7.x + 8.x + - name: Build + run: ./build.sh --target=ci + shell: bash \ No newline at end of file