mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
parent
d9e972a0f3
commit
e9443574d8
21
.github/workflows/build-pro-image.yml
vendored
21
.github/workflows/build-pro-image.yml
vendored
@ -9,6 +9,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'next'
|
- 'next'
|
||||||
|
- 'next-test'
|
||||||
paths:
|
paths:
|
||||||
- 'packages/**'
|
- 'packages/**'
|
||||||
- 'docker/nocobase/**'
|
- 'docker/nocobase/**'
|
||||||
@ -36,15 +37,19 @@ jobs:
|
|||||||
repository: nocobase/pro-plugins
|
repository: nocobase/pro-plugins
|
||||||
ref: main
|
ref: main
|
||||||
path: packages/pro-plugins
|
path: packages/pro-plugins
|
||||||
|
fetch-depth: 0
|
||||||
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
ssh-key: ${{ secrets.SUBMODULE_SSH_KEY }}
|
||||||
- name: Fetch all branches
|
- run: |
|
||||||
run: cd packages/pro-plugins && git fetch --all
|
cd packages/pro-plugins &&
|
||||||
- name: git checkout ${{ github.event.pull_request.base.ref }}
|
if git show-ref --quiet refs/remotes/origin/${{ github.head_ref || github.ref_name }}; then
|
||||||
run: cd packages/pro-plugins && git checkout ${{ github.event.pull_request.base.ref }}
|
git checkout ${{ github.head_ref || github.ref_name }}
|
||||||
continue-on-error: true
|
else
|
||||||
- name: git checkout ${{ github.head_ref || github.ref_name }}
|
if git show-ref --quiet refs/remotes/origin/${{ github.event.pull_request.base.ref }}; then
|
||||||
run: cd packages/pro-plugins && git checkout ${{ github.head_ref || github.ref_name }}
|
git checkout ${{ github.event.pull_request.base.ref }}
|
||||||
continue-on-error: true
|
else
|
||||||
|
git checkout main
|
||||||
|
fi
|
||||||
|
fi
|
||||||
- name: rm .git
|
- name: rm .git
|
||||||
run: rm -rf packages/pro-plugins/.git && git config --global user.email "you@example.com" && git config --global user.name "Your Name" && git add -A && git commit -m "tmp commit"
|
run: rm -rf packages/pro-plugins/.git && git config --global user.email "you@example.com" && git config --global user.name "Your Name" && git add -A && git commit -m "tmp commit"
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
|
Loading…
x
Reference in New Issue
Block a user