feat: update ci

This commit is contained in:
chenos 2024-08-13 09:47:02 +08:00 committed by mytharcher
parent 71a1ddf69e
commit 04c25e4460
2 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@ concurrency:
on:
push:
branches:
- 'develop'
- 'main'
- 'next'
paths:

View File

@ -7,6 +7,7 @@ concurrency:
on:
push:
branches:
- 'develop'
- 'main'
- 'next'
paths:
@ -33,7 +34,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: nocobase/pro-plugins
ref: main
ref: next
path: packages/pro-plugins
fetch-depth: 0
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
@ -45,7 +46,7 @@ jobs:
if git show-ref --quiet refs/remotes/origin/${{ github.event.pull_request.base.ref }}; then
git checkout ${{ github.event.pull_request.base.ref }}
else
git checkout main
git checkout next
fi
fi
- name: rm .git