diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9bdc9a9b..b5b6e1d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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