From 78813911ec7bfd9e98138886e896a514f84293fc Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Mon, 6 Jul 2026 17:35:00 +0900 Subject: [PATCH] make generate_clients job optional --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2bdc01..dc071f5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ on: description: The Rust toolchain for wasm builds, e.g. "nightly-2025-02-16" required: false type: string - default: 'default' + default: "default" wasm-js-packages: description: Rust packages to build with wasm-pack, e.g. `["package", "package2"]`. required: false @@ -76,6 +76,11 @@ on: description: Nightly toolchain for no_std checks. Required when no-std-core-packages or no-std-alloc-packages is provided because `-Zbuild-std` is nightly-only, e.g. "nightly-2025-02-16". required: false type: string + generate-clients: + description: Whether to run the generate_clients job. + required: false + type: boolean + default: true jobs: format_and_lint_js: @@ -464,6 +469,7 @@ jobs: generate_clients: name: Check Client Generation runs-on: ubuntu-latest + if: ${{ inputs.generate-clients }} steps: - name: Git Checkout uses: actions/checkout@v7