File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,12 @@ jobs:
29
29
token : ${{ secrets.GITHUB_TOKEN }}
30
30
status : pending
31
31
32
- test-mock-acpi :
32
+ create-runner :
33
33
if : github.event.issue.pull_request && github.event.comment.body == '/test-acpi'
34
- name : Test Mock ACPI
34
+ name : Create self-hosted runner
35
35
needs : initalize-workflow
36
- runs-on : self-hosted
37
- outputs :
38
- runner-name : ${{ runner.name }}
36
+ runs-on : ubuntu-latest
39
37
steps :
40
- - name : Checkout code
41
- uses : actions/checkout@v4
42
- with :
43
- ref : ${{ needs.initalize-workflow.outputs.head_sha }}
44
-
45
38
- name : metal-runner-action
46
39
# TODO: use the forked version of metal-runner-action inside sustainable-computing-io organization
47
40
uses : vprashar2929/metal-runner-action@custom-action
54
47
os : ubuntu_20_04
55
48
organization : sustainable-computing-io
56
49
50
+ test-mock-acpi :
51
+ if : github.event.issue.pull_request && github.event.comment.body == '/test-acpi'
52
+ name : Test Mock ACPI
53
+ needs : [initalize-workflow, create-runner]
54
+ runs-on : self-hosted
55
+ outputs :
56
+ runner-name : ${{ runner.name }}
57
+ steps :
58
+ - name : Checkout code
59
+ uses : actions/checkout@v4
60
+ with :
61
+ ref : ${{ needs.initalize-workflow.outputs.head_sha }}
62
+
57
63
- name : Configure SSH
58
64
if : ${{ success() }}
59
65
run : |
You can’t perform that action at this time.
0 commit comments