Skip to content

Commit 054bddc

Browse files
committed
feat: add test file
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
1 parent 99b26b9 commit 054bddc

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/create-release-branch.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ name: Create Release Branch
66

77
on:
88
push:
9+
branches:
10+
- main
911
tags:
10-
- 'v*' # 监听以 'v' 开头的 tag
12+
- 'v*'
1113

1214
jobs:
1315
create_release_branch:
@@ -19,10 +21,10 @@ jobs:
1921

2022
- name: Create release branch
2123
run: |
22-
# 获取当前推送的 tag
24+
# Gets the currently pushed tag
2325
TAG_NAME=$(echo "${GITHUB_REF}" | sed -e 's,.*/\(.*\),\1,')
2426
25-
# 检查 tag 格式是否符合预期
27+
# Check whether the tag format meets expectations
2628
if [[ "${TAG_NAME}" =~ ^v([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then
2729
MAJOR_VERSION=${BASH_REMATCH[1]}
2830
MINOR_VERSION=${BASH_REMATCH[2]}

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3
6969
with:
7070
path: |
71-
./dist/*.deb
72-
./dist/*.rpm
73-
./dist/*.apk
71+
./_output/dist/*.deb
72+
./_output/dist/*.rpm
73+
./_output/dist/*.apk
7474
key: ${{ github.ref }}
7575
- uses: sigstore/[email protected]
7676
- uses: anchore/sbom-action/[email protected]

0 commit comments

Comments
 (0)