Skip to content

Commit 6a5b3d8

Browse files
committed
gh-actions/build-debian: Rename extra-source-build-script -> pre-source-build-commands
For consistency with the new pre-deps-commands input.
1 parent 56735ad commit 6a5b3d8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

gh-actions/common/build-debian/action.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ inputs:
2626
Commands to run before installing the build dependencies.
2727
This is useful to add additional APT repositories.
2828
29-
extra-source-build-script:
29+
pre-source-build-commands:
3030
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.
3432
required: false
3533
default: ''
3634

@@ -249,11 +247,11 @@ runs:
249247
git config --system url."https://api:${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
250248
fi
251249
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"
254252
(
255253
set -eux
256-
${{ inputs.extra-source-build-script }}
254+
${{ inputs.pre-source-build-commands }}
257255
)
258256
echo "::endgroup::"
259257
fi

0 commit comments

Comments
 (0)