diff --git a/.github/workflows/build-image-preview.yml b/.github/workflows/build-image-preview.yml index 10a9ef63..f9631680 100644 --- a/.github/workflows/build-image-preview.yml +++ b/.github/workflows/build-image-preview.yml @@ -26,27 +26,6 @@ jobs: /* !modules/tool/packages - # Get changed packages and test build - - name: Get changed files in PR - id: changed-files - uses: tj-actions/changed-files@v45 - with: - files: modules/tool/packages/** - - - name: Checkout changed packages - if: steps.changed-files.outputs.any_changed == 'true' - run: | - # Get list of changed packages - changed_packages=$(echo "${{ steps.changed-files.outputs.all_changed_files }}" | \ - grep -oP 'modules/tool/packages/[^/]+' | \ - sort -u) - - # Checkout each changed package - for package in $changed_packages; do - echo "Checking out $package" - git sparse-checkout add "$package" - done - - name: Setup bun if: steps.changed-files.outputs.any_changed == 'true' uses: oven-sh/setup-bun@v2 @@ -93,7 +72,7 @@ jobs: tool: issue-comment title: Preview Image Label body: | - Preview Images for this PR are: + Preview Images for this PR: ``` ${{ secrets.ALI_IMAGE_NAME }}/fastgpt-plugin-pr:${{ github.event.pull_request.head.sha }}