From 2bbfb20d6fb241d2392250f581ed5f47d49d2d4c Mon Sep 17 00:00:00 2001 From: Patrick Lewis Date: Mon, 1 Feb 2021 15:34:36 -0800 Subject: [PATCH] feat(CI): use acore-core-build-action (#4326) --- .github/workflows/core_build.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml index d3403b7d2..9e8584b60 100644 --- a/.github/workflows/core_build.yml +++ b/.github/workflows/core_build.yml @@ -50,22 +50,24 @@ jobs: restore-keys: | ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }} ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules + - name: Run Core Build Action + id: build-action + uses: azerothcore/acore-core-build-action@main + continue-on-error: true - name: Configure OS - run: source ./acore.sh install-deps - env: - CONTINUOUS_INTEGRATION: true + run: echo "${{ steps.build-action.outputs.configure-os }}" - name: Create conf/config.sh - run: source ./apps/ci/ci-conf.sh - - name: Import db - run: source ./apps/ci/ci-import-db.sh + run: echo "${{ steps.build-action.outputs.config-sh }}" + - name: Import DB + run: echo "${{ steps.build-action.outputs.import-db }}" - name: Build - run: source ./apps/ci/ci-compile.sh - - name: Dry run - run: source ./apps/ci/ci-worldserver-dry-run.sh - - name: Check startup errors - run: source ./apps/ci/ci-error-check.sh - - name: Run unit tests - run: source ./apps/ci/ci-run-unit-tests.sh + run: echo "${{ steps.build-action.outputs.build }}" + - name: Dry Run + run: echo "${{ steps.build-action.outputs.dry-run }}" + - name: Check Startup Errors + run: echo "${{ steps.build-action.outputs.startup-errors }}" + - name: Run Unit Tests + run: echo "${{ steps.build-action.outputs.unit-tests }}" mac-build: strategy: