- Added the output parameter
artifacts
- Added an early check ensuring that the used Docker container is Debian-based
- Ensured that clean-up happens even when the build (or something else) fails
- Moved preparatory and clean-up steps into their own log groups
- Minor improvements and additions to the internal testing and linting workflows
- Added a note that this actions builds readily “debianized” sources
- Clarified the description of the cross-build support
- Renamed the section “Inputs” to “Input Parameters”
- Support the use of additional APT repositories through the new
parameters
extra-repos
andextra-repo-keys
(thanks to @leonheldattoradex for the related PRs #7 and #8; there already was an old, unfinished branch with this feature) - Add a
setup-hook
for executing commands in the build environment between setup and installation of build dependencies
- Use version 4 of actions/checkout in the documentation (and internally in the tests)
- Specify the working directory of the
before-build-hook
- Reword the documentation of
docker-image
- An ever so tiny speed-up to the installation of build dependencies
- Simplify
git
usage in the before-build-hook (suppress git’s complaints about “dubious ownership” in the repository) (mentioned by @r4sas in #3, thanks)
- Add git to the extra-build-deps in the before-build-hook example (mentioned by @r4sas in #3, thanks)
- Mention that the before-build-hook is executed as the root user
- Set a valid package version in the before-build-hook example (valid according to the Debian policy)
- Fix a failure when moving artifacts with valid filenames (introduced by version 1.6.0, fixes #3, thanks @r4sas)
- Leverage libdpkg-perl to find the artifacts to move
- Log a message if
source-dir/..
andartifacts-dir
are identical and an artifact did not need to be moved
- Add a before-build hook for executing commands inside the build
container after the installation of build dependencies and right
before
dpkg-buildpackage
is executed
- Create the action’s temporary files and directories below RUNNER_TEMP
- Reword a reference to
pbuilder
andsbuild
in the README.md
- Support building the source package
- Use version 3 of actions/checkout
Add parameter extra-docker-args
to pass additional arguments to
docker run
when the build container is started
(#1, thanks @usimd)
Add support for local Dockerfiles to the docker-image
parameter
First release