Skip to content

Commit 71ff06c

Browse files
committed
[autoSync] CI: support semantic release
1 parent ec21a67 commit 71ff06c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
release:
8+
name: Release
9+
runs-on: ubuntu-latest
10+
if: github.repository_owner == 'alibabacloud-automation' && github.actor == 'shanye997'
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
persist-credentials: false
16+
fetch-depth: 0
17+
18+
- name: Release
19+
uses: cycjimmy/semantic-release-action@v4
20+
with:
21+
semantic_version: 23.0.2
22+
extra_plugins: |
23+
@semantic-release/changelog@6.0.3
24+
@semantic-release/git@10.0.1
25+
conventional-changelog-conventionalcommits@7.0.2
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}

0 commit comments

Comments
 (0)