ci(build): migrate release upload action to softprops/action-gh-release

This commit is contained in:
zarazaex69
2026-04-08 10:38:15 +03:00
parent 3b16c9afa4
commit a9b48eb8aa
+4 -4
View File
@@ -140,10 +140,10 @@ jobs:
path: ${{ github.workspace }}/V2rayNG/app/build/outputs/apk/*/release/*x86*.apk
- name: Upload to release
uses: svenstaro/upload-release-action@v2
uses: softprops/action-gh-release@v2
if: github.event.inputs.release_tag != '' || startsWith(github.ref, 'refs/tags/')
with:
file: ${{ github.workspace }}/V2rayNG/app/build/outputs/apk/*/release/*.apk
tag: ${{ github.event.inputs.release_tag || github.ref_name }}
file_glob: true
files: ${{ github.workspace }}/V2rayNG/app/build/outputs/apk/*/release/*.apk
tag_name: ${{ github.event.inputs.release_tag || github.ref_name }}
prerelease: true
generate_release_notes: true