From 420aca7a289d2a892f6400b154c3b3b3da0dd179 Mon Sep 17 00:00:00 2001 From: ChengLei Shao Date: Thu, 9 May 2024 23:12:42 +0800 Subject: [PATCH] chore: release ci (#4306) * chore: release ci * chore: release ci * chore: release ci * chore: release ci * chore: release ci --- .github/workflows/manual-release.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index 3895aa4941..b30d7732dd 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -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