Fix debian package build via github actions

This commit is contained in:
Thibault Ayanides 2021-01-18 14:03:24 +01:00 committed by Thibault Serti
parent 8de9817035
commit 124aeea5cc
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y build-essential devscripts debhelper sudo apt-get install -y build-essential devscripts debhelper
sudo debuild -us -uc sudo debuild --buildinfo-option=-O -us -uc -b -j8
find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; find ../ -name "*.deb" -exec mv {} cis-hardening.deb \;
# DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE
- name: Delete the tag latest and the release latest - name: Delete the tag latest and the release latest

View File

@ -31,7 +31,7 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y build-essential devscripts debhelper sudo apt-get install -y build-essential devscripts debhelper
sudo debuild -us -uc sudo debuild --buildinfo-option=-O -us -uc -b -j8
find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; find ../ -name "*.deb" -exec mv {} cis-hardening.deb \;
# DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE
- name: Delete the tag latest and the release latest - name: Delete the tag latest and the release latest