File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 67
67
type : boolean
68
68
description : " Boolean to enable the Python lint check job. Defaults to true."
69
69
default : true
70
+ linux_pre_build_command :
71
+ type : string
72
+ description : " Linux command to execute before building the Swift package"
73
+ default : " "
70
74
71
75
# # We are cancelling previously triggered workflow runs
72
76
concurrency :
90
94
- name : Mark the workspace as safe
91
95
# https://github.com/actions/checkout/issues/766
92
96
run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
97
+ - name : Pre-build
98
+ if : ${{ inputs.linux_pre_build_command }}
99
+ run : ${{ inputs.linux_pre_build_command }}
93
100
- name : Run API breakage check
94
101
run : |
95
102
git fetch ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} ${GITHUB_BASE_REF}:pull-base-ref
@@ -112,6 +119,9 @@ jobs:
112
119
with :
113
120
persist-credentials : false
114
121
submodules : true
122
+ - name : Pre-build
123
+ if : ${{ inputs.linux_pre_build_command }}
124
+ run : ${{ inputs.linux_pre_build_command }}
115
125
- name : Run documentation check
116
126
run : |
117
127
which curl yq || (apt -q update && apt -yq install curl yq)
You can’t perform that action at this time.
0 commit comments