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 95
95
PATCHED_VERSION : ${{ inputs.godot-prebuilt-patch }}
96
96
# sed -i'' needed for macOS compatibility, see https://stackoverflow.com/q/4247068
97
97
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
-
107
98
# 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"
111
100
112
101
# Reduce versions to "major.minor" format.
113
102
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