Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/actions/build-upstream/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ inputs:
target:
description: 'The target platform'
required: true
print-after-build:
description: 'Print the output after the build'
required: false

runs:
using: 'composite'
Expand Down Expand Up @@ -82,6 +85,17 @@ runs:
env:
DEBUG: napi:*

- name: Print output after build
shell: bash
if: inputs.print-after-build == 'true'
run: |
pnpm vite -h
pnpm vite run -h
pnpm vite lint -h
pnpm vite test -h
pnpm vite build -h
pnpm vite fmt -h

- name: Save NAPI binding cache
if: steps.cache-restore.outputs.cache-hit != 'true'
uses: actions/cache/save@94b89442628ad1d101e352b7ee38f30e1bef108e # v5
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/upgrade-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
continue-on-error: true
with:
target: x86_64-unknown-linux-gnu
print-after-build: 'true'
env:
RELEASE_BUILD: 'true'

Expand Down Expand Up @@ -85,6 +86,13 @@ jobs:
- If deps in our `Cargo.toml` need to be upgraded, you can refer to the `./.claude/agents/cargo-workspace-merger.md`
- If `Cargo.toml` has been modified, you need to run `cargo shear` to ensure there is nothing wrong with our dependencies.
- Run `cargo check --all-targets --all-features` to ensure everything works fine if any Rust related codes are modified.
- Run the following commands to ensure everything works fine:
vite -h
vite run -h
vite lint -h
vite test -h
vite build -h
vite fmt -h

Help me fix the errors in `build-upstream` steps, no need to commit changes after your fixing.
claude_args: |
Expand Down
Loading