瀏覽代碼

Merge pull request #81238 from dsnopek/godot-cpp-version

Use godot-cpp 4.1 for the "Godot CPP" CI workflow to prevent circular dependency
Rémi Verschelde 2 年之前
父節點
當前提交
d2ae309f2c
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      .github/workflows/godot_cpp_test.yml

+ 4 - 2
.github/workflows/godot_cpp_test.yml

@@ -4,8 +4,10 @@ on:
 
 
 # Global Settings
 # Global Settings
 env:
 env:
-  # Used for the cache key, and godot-cpp checkout. Add version suffix to force clean build.
+  # Used for the cache key. Add version suffix to force clean build.
   GODOT_BASE_BRANCH: master
   GODOT_BASE_BRANCH: master
+  # Used for the godot-cpp checkout.
+  GODOT_CPP_BRANCH: '4.1'
 
 
 concurrency:
 concurrency:
   group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-cpp-tests
   group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-cpp-tests
@@ -26,7 +28,7 @@ jobs:
         uses: actions/checkout@v3
         uses: actions/checkout@v3
         with:
         with:
           repository: godotengine/godot-cpp
           repository: godotengine/godot-cpp
-          ref: ${{ env.GODOT_BASE_BRANCH }}
+          ref: ${{ env.GODOT_CPP_BRANCH }}
           submodules: 'recursive'
           submodules: 'recursive'
           path: 'godot-cpp'
           path: 'godot-cpp'