From 744d97c9b4a0e108b7b1ef2e8a75ec83ee19dcfa Mon Sep 17 00:00:00 2001 From: xilesun <2013xile@gmail.com> Date: Thu, 10 Oct 2024 10:52:54 +0800 Subject: [PATCH] chore(ci): update --- .github/workflows/manual-build-pro-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/manual-build-pro-image.yml b/.github/workflows/manual-build-pro-image.yml index c408036dfe..a66790d515 100644 --- a/.github/workflows/manual-build-pro-image.yml +++ b/.github/workflows/manual-build-pro-image.yml @@ -64,7 +64,7 @@ jobs: run: | for repo in ${{ join(fromJSON(steps.get-pro-plugins.outputs.proRepos), ' ') }} do - git clone -b ${{ steps.set_pro_pr_branch.outputs.pr_branch || 'main' }} https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo + git clone -b ${{ github.head_ref || github.ref_name }} https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/nocobase/$repo.git packages/pro-plugins/@nocobase/$repo done - name: rm .git run: |