diff --git a/.github/workflows/recovery.yml b/.github/workflows/recovery.yml index fe65a67..5f0193c 100644 --- a/.github/workflows/recovery.yml +++ b/.github/workflows/recovery.yml @@ -41,11 +41,11 @@ jobs: ./script2.sh || true 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 - cd unpack + mkdir output && cd output mv ../recovery-patched.img recovery-fastbootd.img - - name: Uploading files - run: | - cd unpack - curl --upload-file recovery-fastbootd.img https://transfer.sh/recovery.img - echo -e "\nClick the above link and download your recovery" + - name: Upload Recovery + uses: actions/upload-artifact@v3.0.0 + with: + path: /home/runner/work/Patch-Recovery/Patch-Recovery/output/*.img + name: Patched-Recovery