File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Simple long workflow
2+ run-name : Simple long workflow
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ runs-on :
7+ type : choice
8+ description : Choose a runner set on which to run this workflow.
9+ options :
10+ - runner-set
11+ - runner-set-k8s
12+ - runner-set-dind-rootful
13+ - runner-set-dind-rootless
14+ jobs :
15+ simple-long-job :
16+ runs-on : ${{ github.event.inputs.runs-on }}
17+ steps :
18+ - run : echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
19+ - run : echo "🐧 This job is now running on a ${{ runner.os }} server hosted outside of GitHub!"
20+ - run : echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
21+ - name : Check out repository code
22+ uses : actions/checkout@v4
23+ - run : echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
24+ - run : echo "🖥️ The workflow is now ready to test your code on the runner."
25+ - name : List files in the repository
26+ run : |
27+ ls ${{ github.workspace }}
28+ - name : Get hostname and runner details
29+ run : |
30+ set -x
31+ hostname
32+ uname -a
33+ cat /etc/os-release
34+ - name : Wait for 600 seconds
35+ run : |
36+ sleep 600
37+ - run : echo "🍏 This job's status is ${{ job.status }}."
You can’t perform that action at this time.
0 commit comments