Skip to content

Commit f090a06

Browse files
committed
multi dist repo #1
1 parent 61612c6 commit f090a06

File tree

8 files changed

+43
-1
lines changed

8 files changed

+43
-1
lines changed

.github/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
此原型验证通过分支分发仓库,适用于构建复杂工作区项目的分发中心,例如 Sillot-DC
2+
3+
4+
测试仓库有 22 个,这是因为需要通过 `too many workflows are referenced, total: 21, limit: 20` 的 Github 限制。

.github/workflows/test-all.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,20 @@ jobs:
168168
with:
169169
name: "test20"
170170
repo_name: "prototype-test/dist-repo-use-branch_test20"
171-
upstream_dist_path: "test/test20"
171+
upstream_dist_path: "test/test20"
172+
test21:
173+
uses: ./.github/workflows/validation-proxy.yml
174+
needs: []
175+
secrets: inherit
176+
with:
177+
name: "test21"
178+
repo_name: "prototype-test/dist-repo-use-branch_test21"
179+
upstream_dist_path: "test/test21"
180+
test22:
181+
uses: ./.github/workflows/validation-proxy.yml
182+
needs: []
183+
secrets: inherit
184+
with:
185+
name: "test22"
186+
repo_name: "prototype-test/dist-repo-use-branch_test22"
187+
upstream_dist_path: "test/test22"

test/test21/.github/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello test21
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4

test/test21/src/.gitignore

Whitespace-only changes.

test/test22/.github/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello test22
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4

test/test22/src/.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)