diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 4dc8990..3c3ed11 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -47,13 +47,12 @@ jobs: $ANDROID_HOME/build-tools/$(ls $ANDROID_HOME/build-tools | sort -V | tail -1)/apksigner verify \ app/build/outputs/apk/release/app-release.apk - - name: Create Release - uses: softprops/action-gh-release@v2 - with: - tag_name: ${{ github.event.inputs.tag }} - release_name: Release ${{ github.event.inputs.tag }} - draft: false - prerelease: false - files: app/build/outputs/apk/release/app-release.apk + - name: Upload Release Asset + uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: app/build/outputs/apk/release/app-release.apk + asset_name: app-release.apk + asset_content_type: application/vnd.android.package-archive