Skip to content

Commit

Permalink
Using official GitHub Way to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Shéikh Adnan authored Jan 15, 2021
1 parent 09dad8a commit 80571ce
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/recovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ jobs:
cd work
. build/envsetup.sh &&lunch omni_$DEVICE-eng &&export ALLOW_MISSING_DEPENDENCIES=true && mka $TARGET
- name: Upload recovery image
run: |
cd work/out/target/product/$DEVICE
curl -sL https://git.io/file-transfer | sh
./transfer wet *.zip
- uses: actions/upload-artifact@v2
with:
name: recoveryzip
path: work/out/target/product/*/*.zip

- uses: actions/upload-artifact@v2
with:
name: recoveryimage
path: work/out/target/product/*/*.img

0 comments on commit 80571ce

Please sign in to comment.