File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
.github/actions/build_install_collection Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,33 @@ runs:
23
23
shell : bash
24
24
working-directory : ${{ inputs.source_path }}
25
25
26
+ - name : check if bindep.txt exists
27
+ id : bindep_check
28
+ shell : bash
29
+ run : |
30
+ if test -f "bindep.txt"; then
31
+ echo "file_exists=true" >> $GITHUB_OUTPUT
32
+ else
33
+ echo "file_exists=false" >> $GITHUB_OUTPUT
34
+ fi
35
+ working-directory : ${{ inputs.source_path }}
36
+
26
37
- name : Install bindep from pypi
27
38
run : sudo python3 -m pip install bindep
28
39
shell : bash
40
+ if : steps.bindep_check.outputs.file_exists == 'true'
29
41
30
42
- name : Install missing system packages using bindep.txt
31
43
run : bindep test | tail -n +2 | xargs sudo apt-get -o Debug::pkgProblemResolver=true -o Debug::Acquire::http=true install -y || exit 0
32
44
shell : bash
33
45
working-directory : ${{ inputs.source_path }}
46
+ if : steps.bindep_check.outputs.file_exists == 'true'
34
47
35
48
- name : Check for missing system packages using bindep.txt
36
49
run : bindep test
37
50
shell : bash
38
51
working-directory : ${{ inputs.source_path }}
52
+ if : steps.bindep_check.outputs.file_exists == 'true'
39
53
40
54
- name : Install collection python requirements
41
55
if : ${{ inputs.install_python_dependencies == 'true' }}
You can’t perform that action at this time.
0 commit comments