File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
.github/composite/godot-itest Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 9595 PATCHED_VERSION : ${{ inputs.godot-prebuilt-patch }}
9696 # sed -i'' needed for macOS compatibility, see https://stackoverflow.com/q/4247068
9797 run : |
98- # Find the godot4-prebuilt version that gdext currently depends on.
99- defaultVersion=$(grep '^default =' "godot-bindings/Cargo.toml" | sed -n 's/.*prebuilt-\([0-9]*-[0-9]*\).*/\1/p' | tr '-' '.')
100- if [ -z "$defaultVersion" ]; then
101- echo "::error::prebuilt version not found or format is incorrect."
102- exit 1
103- else
104- echo "Default prebuilt version: $defaultVersion"
105- fi
106-
10798 # Specify `api-*` feature for godot crate if needed.
108- if [[ "$PATCHED_VERSION" != $defaultVersion ]]; then
109- .github/other/patch-prebuilt.sh "$PATCHED_VERSION"
110- fi
99+ .github/other/patch-prebuilt.sh "$PATCHED_VERSION"
111100
112101 # Reduce versions to "major.minor" format.
113102 apiVersion=$(echo "$PATCHED_VERSION" | sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+/\1/')
You can’t perform that action at this time.
0 commit comments