Skip to content

Commit

Permalink
Output build fingerprint and URL on full payload
Browse files Browse the repository at this point in the history
  • Loading branch information
tangalbert919 committed May 22, 2023
1 parent 4a7c61a commit 7154f0e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dump_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
id: download
run: |
curl -L ${{ inputs.ota }} -o ota.zip
echo ::set-output name=ota_ver::`unzip -p ota.zip META-INF/com/android/metadata | grep ^version_name= | cut -b 14-`
unzip -j ota.zip META-INF/com/android/metadata
echo ::set-output name=ota_ver::`cat metadata | grep ^version_name= | cut -b 14-`
echo ::set-output name=fingerprint::`cat metadata | grep ^post-build= | cut -b 12-`
- name: Dump
run: |
Expand All @@ -37,6 +39,9 @@ jobs:
with:
artifacts: ota/*.img.zst
artifactErrorsFailBuild: true
body: ${{ inputs.ota }}
body: |
~ Full OTA ~
Build fingerprint: ${{ steps.download.outputs.fingerprint }}
OTA URL: ${{ inputs.ota }}
tag: ${{ steps.download.outputs.ota_ver }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7154f0e

Please sign in to comment.