File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 8
8
description : ' Agent Version to validate. Needs to match the version from the Release Workflow (all_solutions.yml). Format: X.X.X'
9
9
required : true
10
10
type : string
11
- external_call :
12
- type : boolean
13
- default : true
14
- required : false
15
11
workflow_call :
16
12
inputs :
17
13
agent_version :
38
34
disable-sudo : false
39
35
egress-policy : audit
40
36
- name : Wait for APT to update
41
- if : ${{ inputs.external_call }}
37
+ if : ${{ github.event_name == 'workflow_call' }} # only wait if this workflow was called by another workflow
42
38
run : |
43
39
echo "Sleeping 2 minutes to wait for apt to update itself"
44
40
sleep 120
77
73
fetch-depth : 0
78
74
79
75
- name : Wait for YUM to update
80
- if : ${{ inputs.external_call }}
76
+ if : ${{ github.event_name == 'workflow_call' }} # only wait if this workflow was called by another workflow
81
77
run : |
82
78
echo "Sleeping 2 minutes to wait for yum to update itself"
83
79
sleep 120
You can’t perform that action at this time.
0 commit comments