Open source CapCut alternative.
TypeScript
ci: vendor bundled tools before packaging Donkey
David Le148d48f7c690
diff --git a/.github/workflows/nightly-donkey-build.yml b/.github/workflows/nightly-donkey-build.ymlindex 561276cc..2ade2b72 100644--- a/.github/workflows/nightly-donkey-build.yml+++ b/.github/workflows/nightly-donkey-build.yml@@ -87,6 +87,22 @@ jobs:brew install imagemagickfi+ # 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+- 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 02da0c58..2419d337 100644--- a/.github/workflows/promote-donkey-release.yml+++ b/.github/workflows/promote-donkey-release.yml@@ -112,6 +112,21 @@ jobs:brew install imagemagickfi+ # 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+- name: Package Donkeyenv:DONKEY_APP_VERSION: ${{ steps.release.outputs.version }}