From 040d1c3aa4eda84406779f6c478660ac4ba61bc9 Mon Sep 17 00:00:00 2001 From: wrexbe <81056464+wrexbe@users.noreply.github.com> Date: Fri, 3 Jun 2022 02:53:57 -0700 Subject: [PATCH] Fix debug tests with engine change (#8609) --- .github/workflows/test-packaging.yml | 26 ++++++++++++++++++-------- BuildChecker/git_helper.py | 3 +++ 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-packaging.yml b/.github/workflows/test-packaging.yml index e7e45840627..36cb68abcc8 100644 --- a/.github/workflows/test-packaging.yml +++ b/.github/workflows/test-packaging.yml @@ -29,18 +29,28 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - submodules: 'recursive' + - name: Checkout Master + uses: actions/checkout@v2 + + - name: Setup Submodule + run: | + git submodule update --init --recursive + + - name: Pull engine updates + uses: space-wizards/submodule-dependency@v0.1.5 + + - name: Update Engine Submodules + run: | + cd RobustToolbox/ + git submodule update --init --recursive + - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: 6.0.100 + dotnet-version: 6.0.x - - name: Get Engine Tag - run: | - cd RobustToolbox - git fetch --depth=1 + - name: Install dependencies + run: dotnet restore - name: Package client run: | diff --git a/BuildChecker/git_helper.py b/BuildChecker/git_helper.py index a2a6dfe6fdf..becd4506e82 100644 --- a/BuildChecker/git_helper.py +++ b/BuildChecker/git_helper.py @@ -42,6 +42,9 @@ def update_submodules(): Updates all submodules. """ + if ('GITHUB_ACTIONS' in os.environ): + return + if os.path.isfile("DISABLE_SUBMODULE_AUTOUPDATE"): return