更新 .gitea/workflows/build-action.yaml

This commit is contained in:
z9130 2024-09-16 16:05:26 +08:00
parent 7f360aa458
commit c7cf9472d0
1 changed files with 13 additions and 13 deletions

View File

@ -12,19 +12,19 @@ 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: |
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
Checkout the repository
- name: Checkout the repository
uses: 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