Skip to content

Open source CapCut alternative.

TypeScript

ci: stop vendoring bundled tools in nightly and release builds

David Le41a70d425aee
diff --git a/.github/workflows/nightly-donkey-build.yml b/.github/workflows/nightly-donkey-build.yml
index 9ecdc2f6..aea42b16 100644
--- a/.github/workflows/nightly-donkey-build.yml
+++ b/.github/workflows/nightly-donkey-build.yml
@@ -89,22 +89,9 @@ jobs:
brew install imagemagick
fi
- # The bundled CLI tools (ffmpeg, lit, pdf-fill, qpdf, …) are gitignored and
- # built/fetched by fetch-bundled-tools.sh. Cache the result so we don't rebuild
- # ffmpeg/Rust from source every night; the key busts when the recipe or the
- # in-repo pdf-fill source changes.
- - name: Restore bundled tools cache
- if: steps.changes.outputs.should_build == 'true'
- id: tools-cache
- uses: actions/cache@v4
- with:
- path: vendor/donkey-tools
- key: donkey-tools-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('scripts/fetch-bundled-tools.sh', 'tools/pdf-fill/main.swift') }}
-
- - name: Vendor bundled tools
- if: steps.changes.outputs.should_build == 'true' && steps.tools-cache.outputs.cache-hit != 'true'
- run: ./scripts/fetch-bundled-tools.sh
-
+ # The bundled CLI tools (ffmpeg, lit, pdf-fill, …) are NOT baked into the app: it downloads
+ # them on first run from the artifact published by the Publish Bundled Tools workflow, so the
+ # nightly package builds without vendoring them here.
- name: Package Donkey
if: steps.changes.outputs.should_build == 'true'
env:
diff --git a/.github/workflows/promote-donkey-release.yml b/.github/workflows/promote-donkey-release.yml
index 3093365c..fcc68868 100644
--- a/.github/workflows/promote-donkey-release.yml
+++ b/.github/workflows/promote-donkey-release.yml
@@ -114,21 +114,9 @@ jobs:
brew install imagemagick
fi
- # The bundled CLI tools (ffmpeg, lit, pdf-fill, qpdf, …) are gitignored and
- # built/fetched by fetch-bundled-tools.sh. Cache the result so we don't rebuild
- # ffmpeg/Rust from source every release; the key busts when the recipe or the
- # in-repo pdf-fill source changes.
- - name: Restore bundled tools cache
- id: tools-cache
- uses: actions/cache@v4
- with:
- path: vendor/donkey-tools
- key: donkey-tools-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('scripts/fetch-bundled-tools.sh', 'tools/pdf-fill/main.swift') }}
-
- - name: Vendor bundled tools
- if: steps.tools-cache.outputs.cache-hit != 'true'
- run: ./scripts/fetch-bundled-tools.sh
-
+ # The bundled CLI tools (ffmpeg, lit, pdf-fill, …) are NOT baked into the app: it downloads
+ # them on first run from the artifact published by the Publish Bundled Tools workflow, so the
+ # release package builds without vendoring them here.
- name: Package Donkey
env:
DONKEY_APP_VERSION: ${{ steps.release.outputs.version }}