GitHub Action
Create Release with Debug APK
v2.0.0
Latest version
This is a github workflow action to create a release with an additional apk as an attachment.
required used as deploy key
required tag version (such as v1.0.0 etc.)
required used as give which place to get apk
required used as display name
required used as assent type
'The ID of the created Release'
'The URL users can navigate to in order to view the release'
'The URL users can navigate to in order to download the uploaded asset'
Here is a real implementation of creating release with debug apk by using this Github Action
PowerPermission Release Apk
name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Use Java8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build debug apk
run: ./gradlew clean assembleDebug
- name: Create release and upload apk
uses: underwindfall/create-release-with-debugapk@v2.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v1.0.0
asset_path: app/build/outputs/apk/debug/app-debug.apk
asset_name: Example.apk
asset_content_type: application/zip
MIT License
Copyright (c) 2020 Qifan Yang
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.