From ef8d3cf02b44dee3d24dc6a9983b387010e1a447 Mon Sep 17 00:00:00 2001 From: Boshen Date: Mon, 27 May 2024 15:02:25 +0800 Subject: [PATCH] add tool --- .github/actions/rustup/action.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/actions/rustup/action.yml b/.github/actions/rustup/action.yml index f0a60b41b..324d9c5a7 100644 --- a/.github/actions/rustup/action.yml +++ b/.github/actions/rustup/action.yml @@ -28,6 +28,9 @@ inputs: default: 'warm' required: false type: string + tool: + required: false + type: string runs: using: composite @@ -86,3 +89,10 @@ runs: with: shared-key: ${{ inputs.shared-key }} save-if: ${{ inputs.save-cache == 'true' }} + + - name: Install tools + uses: taiki-e/install-action@v2 + if: ${{ inputs.tool }} + with: + tool: ${{ inputs.tool }} +