mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 03:25:57 +00:00
chore: release ci (#4306)
* chore: release ci * chore: release ci * chore: release ci * chore: release ci * chore: release ci
This commit is contained in:
parent
58c3c0fc6a
commit
420aca7a28
20
.github/workflows/manual-release.yml
vendored
20
.github/workflows/manual-release.yml
vendored
@ -11,7 +11,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- 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
|
- name: Checkout pro-plugins
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@ -23,10 +27,8 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- name: Run install
|
- name: Install Lerna
|
||||||
uses: borales/actions-yarn@v4
|
run: npm install -g lerna@4 auto-changelog@2
|
||||||
with:
|
|
||||||
cmd: install
|
|
||||||
- name: Run release.sh
|
- name: Run release.sh
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "actions@github.com"
|
git config --global user.email "actions@github.com"
|
||||||
@ -34,6 +36,7 @@ jobs:
|
|||||||
echo "packages/pro-plugins/" >> .git/info/exclude
|
echo "packages/pro-plugins/" >> .git/info/exclude
|
||||||
bash release.sh
|
bash release.sh
|
||||||
- name: push pro plugins
|
- name: push pro plugins
|
||||||
|
continue-on-error: true
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
ssh: true
|
ssh: true
|
||||||
@ -42,10 +45,11 @@ jobs:
|
|||||||
repository: nocobase/pro-plugins
|
repository: nocobase/pro-plugins
|
||||||
tags: true
|
tags: true
|
||||||
atomic: true
|
atomic: true
|
||||||
- name: push
|
- name: push nocobase
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
branch: main
|
||||||
branch: ${{ github.head_ref }}
|
ssh: true
|
||||||
|
repository: nocobase/nocobase
|
||||||
tags: true
|
tags: true
|
||||||
atomic: true
|
atomic: true
|
||||||
|
Loading…
Reference in New Issue
Block a user