Skip to content

Commit e55a05e

Browse files
committed
fix(ci): apply rolldown-vite branding patches before build
CI checks out upstream rolldown-vite which doesn't have the vp branding patches. Run brand-rolldown-vite before building to ensure cac name, version, banner, and logger prefix are patched.
1 parent c162db4 commit e55a05e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/actions/build-upstream/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ runs:
3838
target/${{ inputs.target }}/release/vp.exe
3939
key: ${{ steps.cache-key.outputs.key }}
4040

41+
# Apply Vite+ branding patches to rolldown-vite source (CI checks out
42+
# upstream rolldown-vite which doesn't have branding patches)
43+
- name: Brand rolldown-vite
44+
shell: bash
45+
run: pnpm exec tool brand-rolldown-vite
46+
4147
# Build upstream TypeScript packages first (don't depend on native bindings)
4248
- name: Build upstream TypeScript packages
4349
shell: bash

0 commit comments

Comments
 (0)