From 7aec9ab45a8bf8b15dc17d0035e560ff03475687 Mon Sep 17 00:00:00 2001 From: Johx22 Date: Sun, 24 Apr 2022 14:22:04 +0300 Subject: [PATCH] Repack recovery to tar after patching --- .github/workflows/recovery.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/recovery.yml b/.github/workflows/recovery.yml index c08ce5e..a779e04 100644 --- a/.github/workflows/recovery.yml +++ b/.github/workflows/recovery.yml @@ -42,10 +42,11 @@ jobs: python3 avbtool extract_public_key --key phh.pem --output phh.pub.bin python3 avbtool add_hash_footer --partition_name recovery --partition_size $(wc -c recovery.img |cut -f 1 -d ' ') --image recovery-patched.img --key phh.pem --algorithm SHA256_RSA4096 mkdir output && cd output - mv ../recovery-patched.img recovery-fastbootd.img + mv ../recovery-patched.img recovery.img + tar cvf fastbootd-recovery.tar recovery.img - name: Upload Recovery uses: actions/upload-artifact@v3.0.0 with: - path: /home/runner/work/Patch-Recovery/Patch-Recovery/output/*.img + path: /home/runner/work/Patch-Recovery/Patch-Recovery/output/*.tar name: Patched-Recovery