Skip to content

Commit 29f386a

Browse files
committed
INITA
Signed-off-by: sparkzky <sparkhhhhhhhhhh@outlook.com>
0 parents  commit 29f386a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Test Organization Runner
2+
3+
on: [push] # 当有代码推送到仓库时触发
4+
5+
jobs:
6+
test-on-org-runner:
7+
# 通过标签选择我们新建的组织 Runner
8+
# 如果 RunnerDeployment 中定义了 labels,可以在这里精确指定
9+
# 例如:runs-on: [self-hosted, my-custom-runner]
10+
runs-on: [self-hosted, org-runner]
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v3
15+
16+
- name: Print a message
17+
run: |
18+
echo "🎉 This job is running on a self-hosted runner in our K3s cluster!"
19+
echo "Hostname is $(hostname)"

0 commit comments

Comments
 (0)