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