parent
e2e9fcb1ce
commit
5f19a71c69
@ -1,4 +1,4 @@
|
|||||||
name: Build & Pack Release # 工作流的名称
|
name: test_CICD # 工作流的名称
|
||||||
|
|
||||||
# 当有代码推送到仓库的 main 分支时,这个 Actions 工作流会被触发并执行
|
# 当有代码推送到仓库的 main 分支时,这个 Actions 工作流会被触发并执行
|
||||||
on:
|
on:
|
||||||
@ -9,14 +9,13 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build: # 定义一个名为 build 的作业
|
build: # 定义一个名为 build 的作业
|
||||||
runs-on: test # 指定了作业运行的环境
|
runs-on: self-hosted # 指定了作业运行的环境
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Run CMake build and install
|
- name: Run CMake build and install
|
||||||
run: |
|
run: |
|
||||||
echo "test_start"
|
echo "test_start"
|
||||||
sleep 20
|
|
||||||
echo "test_end"
|
echo "test_end"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user