Update PBRP-new.yml to also upload artifacts

This commit is contained in:
ragebreaker 2024-12-14 08:54:25 +05:30 committed by GitHub
parent 472b43071b
commit f08ef645a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -220,6 +220,20 @@ jobs:
fi fi
done 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 - name: Upload to Release
if: success() if: success()
uses: softprops/action-gh-release@master uses: softprops/action-gh-release@master