Skip to content

Commit

Permalink
ci: cleanup deb and deb sig
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Feb 6, 2024
1 parent 62a087a commit 20e88d9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,9 @@ jobs:
echo "Building ${BUILD_NAME}.deb"
dpkg-deb --build ${BUILD_NAME}
# Move the .deb file to a known directory
mkdir -p ./debian/pool/main/${{ env.PROJECT }}
mv ${BUILD_NAME}.deb ./debian/pool/main/${{ env.PROJECT }}/
# Sign the .deb file (if necessary)
rm -f ./debian/pool/main/${{ env.PROJECT }}/${BUILD_NAME}.deb.sig
gpg --armor --detach-sign --output ./debian/pool/main/${{ env.PROJECT }}/${BUILD_NAME}.deb.sig ./debian/pool/main/${{ env.PROJECT }}/${BUILD_NAME}.deb
# Sign the .deb file
rm -f ${BUILD_NAME}.deb.sig
gpg --armor --detach-sign --output ${BUILD_NAME}.deb.sig ${BUILD_NAME}.deb
done
- name: Add packages to repository
Expand All @@ -139,6 +135,8 @@ jobs:
- name: Clean up
run: |
rm *.deb
rm *.deb.sig
rm -rf ./artifacts
rm -rf ./debian/conf
Expand Down

0 comments on commit 20e88d9

Please sign in to comment.