Update PBRP-new.yml to also upload artifacts
This commit is contained in:
parent
472b43071b
commit
f08ef645a7
14
.github/workflows/PBRP-new.yml
vendored
14
.github/workflows/PBRP-new.yml
vendored
@ -220,6 +220,20 @@ jobs:
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Upload to Release
|
||||
if: github.event_name == 'workflow_dispatch' && env.UPLOAD_RELEASES == 'true'
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
${{ env.OUTPUT_DIR }}/*.img
|
||||
${{ env.OUTPUT_DIR }}/*.tar
|
||||
${{ env.OUTPUT_DIR }}/*vbmeta*
|
||||
${{ env.OUTPUT_DIR }}/ramdisk-recovery.*
|
||||
name: "TWRP Recovery for ${{ env.DEVICE_NAME }} | ${{ env.BUILD_DATE }}"
|
||||
tag_name: ${{ env.DEVICE_NAME }}-${{ env.COMMIT_SHORT }}
|
||||
body: |
|
||||
## 📱 TWRP Recovery for ${{ env.DEVICE_NAME }}
|
||||
|
||||
- name: Upload to Release
|
||||
if: success()
|
||||
uses: softprops/action-gh-release@master
|
||||
|
Loading…
Reference in New Issue
Block a user