Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[suggestion] Releasing the apk here on Github #96

Open
EdoSecco opened this issue May 26, 2023 · 1 comment
Open

[suggestion] Releasing the apk here on Github #96

EdoSecco opened this issue May 26, 2023 · 1 comment

Comments

@EdoSecco
Copy link

I use Obtainium and it would be great if you publish the apk in the release section.

Thank you!

@Boggin
Copy link

Boggin commented Feb 23, 2024

I think adding the following to the android.yml may work:

      - name: Create Release
        id: create_release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ github.ref }}
          release_name: Release ${{ github.ref }}
          draft: false
          prerelease: false
      - name: Upload Release Asset
        id: 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/debug/AndroidOCR-debug.apk
          asset_name: AndroidOCR-debug.apk
          asset_content_type: application/vnd.android.package-archive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants