Open source CapCut alternative.
TypeScript
ci(donkey): drop redundant Xcode-select step
David Ledc50229460fa
diff --git a/.github/workflows/nightly-donkey-build.yml b/.github/workflows/nightly-donkey-build.ymlindex 24f5d225..9ecdc2f6 100644--- a/.github/workflows/nightly-donkey-build.yml+++ b/.github/workflows/nightly-donkey-build.yml@@ -17,7 +17,6 @@ jobs:name: Build nightly# The macos-26 image carries the Xcode 26 SDK that defines the SpeechAnalyzer /# SpeechTranscriber APIs the app compiles against (gated to macOS 26 at runtime).- # A later step selects that Xcode explicitly; the image default is not guaranteed.runs-on: macos-26steps:@@ -106,30 +105,6 @@ jobs:if: steps.changes.outputs.should_build == 'true' && steps.tools-cache.outputs.cache-hit != 'true'run: ./scripts/fetch-bundled-tools.sh- # The macos-26 image ships several Xcodes and xcode-select does not reliably- # default to the macOS 26 one, whose Speech SDK defines SpeechAnalyzer /- # SpeechTranscriber. Pin DEVELOPER_DIR to the newest Xcode 26 so the build- # compiles against the macOS 26 SDK.- - name: Select Xcode with the macOS 26 SDK- if: steps.changes.outputs.should_build == 'true'- run: |- dir="$(ls -d /Applications/Xcode_26*.app 2>/dev/null | sort -V | tail -1)"- if [[ -z "$dir" ]]; then- echo "No Xcode 26 found on this runner. Installed Xcodes:" >&2- ls -d /Applications/Xcode*.app >&2 || true- exit 1- fi- developer_dir="$dir/Contents/Developer"- sudo xcode-select -s "$developer_dir"- echo "DEVELOPER_DIR=$developer_dir" >> "$GITHUB_ENV"- xcodebuild -version- sdk_version="$(xcrun --sdk macosx --show-sdk-version)"- echo "macOS SDK: $sdk_version"- if [[ "${sdk_version%%.*}" -lt 26 ]]; then- echo "Selected SDK $sdk_version predates macOS 26; SpeechAnalyzer is unavailable." >&2- exit 1- fi-- name: Package Donkeyif: steps.changes.outputs.should_build == 'true'env:diff --git a/.github/workflows/promote-donkey-release.yml b/.github/workflows/promote-donkey-release.ymlindex 64ffba91..3093365c 100644--- a/.github/workflows/promote-donkey-release.yml+++ b/.github/workflows/promote-donkey-release.yml@@ -25,7 +25,6 @@ jobs:name: Build and release# The macos-26 image carries the Xcode 26 SDK that defines the SpeechAnalyzer /# SpeechTranscriber APIs the app compiles against (gated to macOS 26 at runtime).- # A later step selects that Xcode explicitly; the image default is not guaranteed.runs-on: macos-26steps:@@ -130,29 +129,6 @@ jobs:if: steps.tools-cache.outputs.cache-hit != 'true'run: ./scripts/fetch-bundled-tools.sh- # The macos-26 image ships several Xcodes and xcode-select does not reliably- # default to the macOS 26 one, whose Speech SDK defines SpeechAnalyzer /- # SpeechTranscriber. Pin DEVELOPER_DIR to the newest Xcode 26 so the build- # compiles against the macOS 26 SDK.- - name: Select Xcode with the macOS 26 SDK- run: |- dir="$(ls -d /Applications/Xcode_26*.app 2>/dev/null | sort -V | tail -1)"- if [[ -z "$dir" ]]; then- echo "No Xcode 26 found on this runner. Installed Xcodes:" >&2- ls -d /Applications/Xcode*.app >&2 || true- exit 1- fi- developer_dir="$dir/Contents/Developer"- sudo xcode-select -s "$developer_dir"- echo "DEVELOPER_DIR=$developer_dir" >> "$GITHUB_ENV"- xcodebuild -version- sdk_version="$(xcrun --sdk macosx --show-sdk-version)"- echo "macOS SDK: $sdk_version"- if [[ "${sdk_version%%.*}" -lt 26 ]]; then- echo "Selected SDK $sdk_version predates macOS 26; SpeechAnalyzer is unavailable." >&2- exit 1- fi-- name: Package Donkeyenv:DONKEY_APP_VERSION: ${{ steps.release.outputs.version }}