Skip to content

Commit

Permalink
use tar.zst
Browse files Browse the repository at this point in the history
  • Loading branch information
ghazzor authored Mar 17, 2024
1 parent d59a20e commit bf43a26
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,11 @@ jobs:
cd ..
cp xanmod/.config config
rm -rf xanmod *.gz *.dsc *.buildinfo *.changes
tar czvf Xanmod-${{ github.event.inputs.KERNEL_VER }}-${{ github.event.inputs.LLVM_VER }}.tar.gz *.deb
tar -cf - *.deb | zstd > Xanmod-${{ github.event.inputs.KERNEL_VER }}-${{ github.event.inputs.LLVM_VER }}.tar.zst
- name: Upload-Kernel
uses: actions/upload-artifact@v4
with:
name: Xanmod-${{ github.event.inputs.KERNEL_VER }}-${{ github.event.inputs.LLVM_VER }}-nongenric
path: kernel/
compression-level: 0

- name: Upload to Telegram
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
document: kernel/Xanmod*.gz
message: "Xanmod-Generic-${{ github.event.inputs.KERNEL_VER }} clang-${{ github.event.inputs.LLVM_VER }} Completed"
compression-level: 0

0 comments on commit bf43a26

Please sign in to comment.