fix: release ci

This commit is contained in:
xilesun 2025-02-27 11:03:32 +08:00
parent 92cf679bda
commit 5a50995607
3 changed files with 27 additions and 18 deletions

View File

@ -59,12 +59,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: yarn install and build
run: |
yarn config set registry https://registry.npmjs.org/
yarn install
yarn build
- name: Run release.sh
- name: Checkout
shell: bash
run: |
cd ./packages/pro-plugins
@ -79,6 +74,14 @@ jobs:
git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
echo "packages/pro-plugins" >> .git/info/exclude
- name: yarn install and build
run: |
yarn config set registry https://registry.npmjs.org/
yarn install
yarn build
- name: Run release.sh
shell: bash
run: |
bash release.sh $IS_FEAT
env:
IS_FEAT: ${{ inputs.is_feat && '--is-feat' || '' }}

View File

@ -101,12 +101,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: yarn install and build
run: |
yarn config set registry https://registry.npmjs.org/
yarn install
yarn build
- name: Run release.sh
- name: Checkout
shell: bash
run: |
cd ./packages/pro-plugins
@ -121,6 +116,14 @@ jobs:
git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
echo "packages/pro-plugins" >> .git/info/exclude
- name: yarn install and build
run: |
yarn config set registry https://registry.npmjs.org/
yarn install
yarn build
- name: Run release.sh
shell: bash
run: |
bash release.sh $IS_FEAT $ADD_MINOR
env:
PRO_PLUGIN_REPOS: ${{ needs.get-plugins.outputs.beta-plugins }}

View File

@ -98,12 +98,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: yarn install and build
run: |
yarn config set registry https://registry.npmjs.org/
yarn install
yarn build
- name: Run release.sh
- name: Checkout
shell: bash
run: |
cd ./packages/pro-plugins
@ -118,6 +113,14 @@ jobs:
git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
echo "packages/pro-plugins" >> .git/info/exclude
- name: yarn install and build
run: |
yarn config set registry https://registry.npmjs.org/
yarn install
yarn build
- name: Run release.sh
shell: bash
run: |
bash release.sh $IS_FEAT
env:
PRO_PLUGIN_REPOS: ${{ needs.get-plugins.outputs.rc-plugins }}