diff --git a/.gitea/workflows/build-action.yaml b/.gitea/workflows/build-action.yaml index b903e063..8255e7b9 100644 --- a/.gitea/workflows/build-action.yaml +++ b/.gitea/workflows/build-action.yaml @@ -13,16 +13,18 @@ jobs: steps: # Checkout the repository - - name: Checkout the repository - uses: https://gitee.com/z9130/actions-checkout@v4 - with: - fetch-depth: 0 - # - name: Clone repository - # run: | - # git clone http://172.19.183.27:3000/z9130/pansoft-plrl.git --depth 1 - # cd your-repo - # # Optionally check out a specific branch - # git checkout test + # - name: Checkout the repository + # uses: https://gitee.com/z9130/actions-checkout@v4 + # with: + # fetch-depth: 0 + - name: Clone repository + run: | + sudo apt-get update + sudo apt-get install -y git + git clone http://172.19.183.27:3000/z9130/pansoft-plrl.git pansoft-plrl --depth 1 + cd pansoft-plrl + # Optionally check out a specific branch + git checkout test - run: npm config set registry https://registry.npmmirror.com