shawnxixi-cli 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,9 +4,15 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches: [main]
|
|
6
6
|
|
|
7
|
+
# 只在最新 commit 上触发,防止 force-push 导致的重复发版
|
|
8
|
+
concurrency:
|
|
9
|
+
group: release
|
|
10
|
+
cancel-in-progress: false
|
|
11
|
+
|
|
7
12
|
jobs:
|
|
8
13
|
release:
|
|
9
14
|
runs-on: ubuntu-latest
|
|
15
|
+
if: github.event.head_commit.id == github.sha # 只在最新 commit 上跑
|
|
10
16
|
permissions:
|
|
11
17
|
contents: write
|
|
12
18
|
steps:
|