File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
gh-actions/common/build-debian Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,9 @@ inputs:
26
26
Commands to run before installing the build dependencies.
27
27
This is useful to add additional APT repositories.
28
28
29
- extra -source-build-script :
29
+ pre -source-build-commands :
30
30
description : |
31
- A script to run to prepare the source build machine.
32
- This happens after the dependencies have been installed, but before
33
- running `dpkg-buildpackage -S`.
31
+ Commands to run before building the package but after installing the build dependencies.
34
32
required : false
35
33
default : ' '
36
34
@@ -249,11 +247,11 @@ runs:
249
247
git config --system url."https://api:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
250
248
fi
251
249
252
- if [ -n "${{ inputs.extra -source-build-script != '' && 'true' || '' }}" ]; then
253
- echo "::group::Run source build script "
250
+ if [ -n "${{ inputs.pre -source-build-commands != '' && 'true' || '' }}" ]; then
251
+ echo "::group::Run pre- source- build commands "
254
252
(
255
253
set -eux
256
- ${{ inputs.extra -source-build-script }}
254
+ ${{ inputs.pre -source-build-commands }}
257
255
)
258
256
echo "::endgroup::"
259
257
fi
You can’t perform that action at this time.
0 commit comments