From b038d9e55b91d80732e8f0cd3442b800f188b18d Mon Sep 17 00:00:00 2001 From: z9130 <984661593@qq.com> Date: Tue, 17 Sep 2024 12:37:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build-act?= =?UTF-8?q?ion.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-action.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build-action.yaml b/.gitea/workflows/build-action.yaml index a3b15bc3..23ff87b2 100644 --- a/.gitea/workflows/build-action.yaml +++ b/.gitea/workflows/build-action.yaml @@ -30,22 +30,17 @@ jobs: # Clone repository - name: Clone repository - run: | - echo "Cloning repository..." - git clone http://172.19.183.27:3000/z9130/pansoft-plrl.git pansoft-plrl --depth 1 - cd pansoft-plrl - git checkout test - echo "Repository cloned and checked out to test branch." + uses: https://gitea.com/actions/checkout@v4 # Cache pnpm dependencies - name: Cache pnpm store - uses: actions/cache@v3 + uses: https://gitea.com/actions/cache@v3 id: pnpm-cache with: path: .pnpm-store key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pansoft-plrl/pnpm-lock.yaml') }} restore-keys: | - ${{ runner.os }}-pnpm-store- + ${{ runner.os }}-pnpm-store- # Install dependencies and build - name: Install dependencies and build