Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test-build-deb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
set -eu

echo "::group::Get source"
PKG=debianutils
PKG=hello
pull-lp-source --download-only "$PKG"
dpkg-source -x "$PKG"*.dsc pkg-src
rm -rf "${PKG}_"*
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
# Get package source
set -eu

PKG=debianutils
PKG=hello
pull-lp-source --download-only "$PKG"
dpkg-source -x "$PKG"*.dsc pkg-src
rm -rfv "${PKG}_"*.{dsc,debian.}*
Expand Down
26 changes: 0 additions & 26 deletions gh-actions/common/build-debian/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ inputs:
description: Arguments to pass to lintian, if any. Set to `skip` to skip the lintian check.
default: ''

lrc:
required: false
description: Arguments to pass to licenserecon, if any. Set to `skip` to skip the licenserecon check.
default: ''

allow-sudo:
description: Allow the build to use sudo.
required: false
Expand Down Expand Up @@ -157,27 +152,6 @@ runs:
echo "SOURCE_DIR=${srcdir}" >> "${GITHUB_ENV}"
echo "::endgroup::"

- name: Check licenses
if: ${{ inputs.lrc != 'skip' }}
uses: kohlerdominik/docker-run-action@v2.0.0
with:
# Use ubuntu:devel to have a recent version of licenserecon, because we
# found older versions to report false positives (e.g. GPL-2 vs GPL-2+).
image: ubuntu:devel
volumes: |
${{ github.workspace }}:${{ github.workspace }}
workdir: ${{ env.SOURCE_DIR }}
shell: bash
run: |
echo "::group::Install licenserecon"
apt-get update
apt-get install -y --no-install-recommends licenserecon
echo "::endgroup::"

echo "::group::Run licenserecon"
lrc ${{ inputs.lrc }}
echo "::endgroup::"

- name: Prepare source package
uses: kohlerdominik/docker-run-action@v2.0.0
with:
Expand Down
Loading