From 68bc8c024105b19d390cca1213748f13bf1292a6 Mon Sep 17 00:00:00 2001 From: Timeless0911 <1604889533@qq.com> Date: Tue, 24 Dec 2024 18:01:49 +0800 Subject: [PATCH] chore(CI): use inputs.branch to checkout --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 311dbeffc..b6f97a2bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,9 +31,10 @@ jobs: environment: production steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v4.2.2 with: fetch-depth: 1 + ref: ${{ github.event.inputs.branch }} - name: Install Pnpm run: corepack enable