chore: release ci (#4306)

* chore: release ci

* chore: release ci

* chore: release ci

* chore: release ci

* chore: release ci
This commit is contained in:
ChengLei Shao 2024-05-09 23:12:42 +08:00 committed by GitHub
parent 58c3c0fc6a
commit 420aca7a28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: nocobase/nocobase
ssh-key: ${{ secrets.NOCOBASE_DEPLOY_KEY }}
persist-credentials: true
- name: Checkout pro-plugins
uses: actions/checkout@v4
with:
@ -23,10 +27,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: install
- name: Install Lerna
run: npm install -g lerna@4 auto-changelog@2
- name: Run release.sh
run: |
git config --global user.email "actions@github.com"
@ -34,6 +36,7 @@ jobs:
echo "packages/pro-plugins/" >> .git/info/exclude
bash release.sh
- name: push pro plugins
continue-on-error: true
uses: ad-m/github-push-action@master
with:
ssh: true
@ -42,10 +45,11 @@ jobs:
repository: nocobase/pro-plugins
tags: true
atomic: true
- name: push
- name: push nocobase
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.head_ref }}
branch: main
ssh: true
repository: nocobase/nocobase
tags: true
atomic: true