Skip to content

Commit

Permalink
Using the dkms mktarball instead of manually doing it
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 authored Dec 12, 2024
1 parent 689f086 commit 504febc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aes_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ jobs:
run: |
dkms --version
sudo dkms add -m "$MODULE" -v "$VERSION" || { echo "Failed to add module"; exit 1; }
sudo dkms mktarball -m "$MODULE" -v "$VERSION" || { echo "Failed to create Debian package"; exit 1; }
- name: Build Tarball
env:
MODULE: ${{ steps.get_image_info.outputs.module }}
VERSION: ${{ steps.get_image_info.outputs.tag }}
DEST_DIR: /usr/src/${{ steps.get_image_info.outputs.module }}-${{ steps.get_image_info.outputs.tag }}

run: tar -cvvzpf ${MODULE}-${VERSION}.tgz $DEST_DIR
run: |
sudo dkms mktarball -m "$MODULE" -v "$VERSION" || { echo "Failed to create Debian package"; exit 1; }
- name: Upload Assets
env:
Expand Down

0 comments on commit 504febc

Please sign in to comment.