Skip to content

Commit 1a40a03

Browse files
修复 C++/C# 标签显示与链接冲突问题
1 parent 6d1fd13 commit 1a40a03

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/cd.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CD
2+
3+
on:
4+
push:
5+
branches: [master]
6+
tags-ignore: ["**"]
7+
8+
jobs:
9+
release:
10+
if: ${{ ! startsWith(github.event.head_commit.message, 'chore(release)') }}
11+
permissions:
12+
contents: write
13+
issues: write
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: 3.3
22+
bundler-cache: true
23+
24+
- uses: actions/setup-node@v4
25+
with:
26+
node-version: lts/*
27+
28+
- run: npm install
29+
- run: npx semantic-release
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
33+
34+
publish:
35+
needs: release
36+
uses: ./.github/workflows/publish.yml
37+
secrets:
38+
GH_PAT: ${{ secrets.GH_PAT }}
39+
BUILDER: ${{ secrets.BUILDER }}

0 commit comments

Comments
 (0)