Skip to content

Commit

Permalink
Let's use Github artifacts to upload files
Browse files Browse the repository at this point in the history
  • Loading branch information
Johx22 committed Apr 19, 2022
1 parent d8350db commit 7d10e7c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/recovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
path: /home/runner/work/Patch-Recovery/Patch-Recovery/output/*.img
name: Patched-Recovery

0 comments on commit 7d10e7c

Please sign in to comment.