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