From 23f7dcabb231bbc9a672f1a906a84dbc49656aea Mon Sep 17 00:00:00 2001 From: "thibault.dewailly" Date: Thu, 27 Apr 2023 14:01:32 +0000 Subject: [PATCH] fix: force xz compression during .deb build zst compression is only available on Debian 12, since the release is built on Ubuntu latest, this was breaking release. Fixes #175 --- .github/workflows/pre-release.yml | 2 +- .github/workflows/tagged-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index de1d7999..7f6f01cf 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -17,7 +17,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential devscripts debhelper - sudo debuild --buildinfo-option=-O -us -uc -b -j8 + sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE - name: Delete the tag latest and the release latest diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index 28eb3174..d2c5b4d2 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -29,7 +29,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential devscripts debhelper - sudo debuild --buildinfo-option=-O -us -uc -b -j8 + sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE - name: Delete the tag latest and the release latest