We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7fdb79 commit 05f5c46Copy full SHA for 05f5c46
.github/workflows/publish-release.yml
@@ -0,0 +1,19 @@
1
+name: Publish Release
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ workflow_dispatch:
7
8
+jobs:
9
+ publish-release:
10
+ # 引用外部仓库的可重用工作流
11
+ # 权限由外部工作流统一配置,无需在调用方声明
12
+ uses: GameFrameX/public-github-actions/.github/workflows/publish-release.yml@main
13
+ with:
14
+ # 传递tag名称给外部工作流
15
+ tag_name: ${{ github.ref_name }}
16
+ # 传递仓库名称
17
+ repository_name: ${{ github.repository }}
18
+ # 组织级别已配置密钥,可以使用 inherit 继承所有密钥
19
+ secrets: inherit
0 commit comments