From 9e54cd0840108d8d68f7667c3ddbb10904aa6f4d Mon Sep 17 00:00:00 2001 From: PangBo <51732678+pangbo13@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:34:19 +0800 Subject: [PATCH] Update plugin-compacity.yml --- .github/workflows/plugin-compacity.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/plugin-compacity.yml b/.github/workflows/plugin-compacity.yml index 6d7928b..2f14be9 100644 --- a/.github/workflows/plugin-compacity.yml +++ b/.github/workflows/plugin-compacity.yml @@ -77,7 +77,8 @@ jobs: - name: Set working directory owner run: chown root:root . - - uses: actions/checkout@v4 + - name: Clone Discourse + uses: actions/checkout@v4 with: repository: discourse/discourse fetch-depth: 1 @@ -88,11 +89,17 @@ jobs: git config --global user.email "ci@ci.invalid" git config --global user.name "Discourse CI" + - name: Checkout repo + uses: actions/checkout@v4 + with: + path: tmp/ + fetch-depth: 1 + - name: Clone plugins uses: discourse/.github/actions/clone-additional-plugins@v1 with: ssh_private_key: ${{ secrets.ssh_private_key || '' }} - about_json_path: plugins.json + about_json_path: tmp/plugins.json - name: Start redis run: |