File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,13 +28,25 @@ jobs:
2828 preemptible : true
2929 actions_preinstalled : false
3030 no_external_address : true
31+ shutdown_timeout : 30
3132
32- test :
33+ test1 :
3334 needs : create-runner
3435 runs-on : ${{ needs.create-runner.outputs.label }}
3536 steps :
36- - run : echo "This runs on the GCE runner VM"
37+ - name : Job 1 Test
38+ run : echo "This runs on the GCE runner VM"
39+
40+ test2 :
41+ needs : create-runner
42+ runs-on : ${{ needs.create-runner.outputs.label }}
43+ steps :
44+ - name : Wait for longer than shutdown timeout
45+ run : sleep 60 # Give time for runner to shutdown from shutdown timeout
46+
47+ - name : Job 2 Test
48+ run : echo "This also runs on the GCE runner VM"
3749 - uses : iunu/gce-github-runner@iunu
3850 with :
3951 command : stop
40- if : always()
52+ if : always()
Original file line number Diff line number Diff line change 2121 project_id : ${{ secrets.GCP_PROJECT_ID }}
2222 service_account_key : ${{ secrets.GCP_SA_KEY }}
2323 image_project : ubuntu-os-cloud
24- image_family : ubuntu-2404-lts
24+ image_family : ubuntu-2404-lts-amd64
2525
2626 test :
2727 needs : create-runner
You can’t perform that action at this time.
0 commit comments