From c3e8e706acc22540846d2ac9a280af124fa9d2c0 Mon Sep 17 00:00:00 2001 From: gxz Date: Wed, 2 Aug 2023 16:16:17 +0800 Subject: [PATCH] chore: update terra ci --- .github/workflows/terra.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/terra.yml b/.github/workflows/terra.yml index 1b6c1feaf..ca597fc71 100644 --- a/.github/workflows/terra.yml +++ b/.github/workflows/terra.yml @@ -2,6 +2,11 @@ name: Generate codes on: workflow_dispatch: + inputs: + terra-ref: + description: The terra repo ref + required: true + default: "main" jobs: generate-codes: @@ -14,11 +19,12 @@ jobs: uses: ./.github/actions/setup - name: Generate codes - uses: AgoraIO-Extensions/actions/.github/actions/terra@dev/4.2.2.custom + uses: AgoraIO-Extensions/actions/.github/actions/terra@main env: LLVM_DOWNLOAD_URL: | https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6/clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz with: + terra-ref: ${{ inputs.terra-ref }} target-path: ${{ github.workspace }} config: ci/config/terra_config.yaml output-dir: ts/Private