Open vikramsubramanian opened 3 months ago
To address the feature request to upload AntennaPod APK to the GitHub release page, you can follow these steps:
Here is a sample GitHub Actions workflow to automate the process:
name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '11'
- name: Build APK
run: ./gradlew assembleRelease
- name: Upload APK to GitHub Release
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./app/build/outputs/apk/release/app-release.apk
asset_name: AntennaPod-v${{ github.ref }}.apk
asset_content_type: application/vnd.android.package-archive
GITHUB_TOKEN
secret is set in your repository settings../gradlew assembleRelease
with the actual command to build the APK for AntennaPod../app/build/outputs/apk/release/app-release.apk
with the actual path to the generated APK file.This workflow will automatically build the APK and upload it to the GitHub release page whenever a new tag is pushed that matches the pattern 'v*'.
hashtaghashtaghashtag Checklist
hashtaghashtaghashtag App version
0.0.0
hashtaghashtaghashtag Where did you get the app from
Other
hashtaghashtaghashtag Problem you may be having, or feature you want
Play Store is blocked in my country. Please upload AntennaPod APK to GitHub release page.
hashtaghashtaghashtag Suggested solution
No response
hashtaghashtaghashtag Screenshots / Drawings / Technical details
No response )