forked from ShaunLWM/action-release-debugapk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
45 lines (42 loc) · 1.32 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: "Release APK Publisher"
description: "Build & Publish Release APK on Github"
author: "hacker-jak"
inputs:
GITHUB_TOKEN:
required: true
description: "Github secret token to allow automated publishing of APK to release."
REPO_BRANCH:
required: true
description: "Github repository branch name."
runs:
using: "docker"
image: "Dockerfile"
# on:
# push:
# branches:
# - wg_app
# workflow_dispatch:
# jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: set up JDK 1.8
# uses: actions/setup-java@v1
# with:
# java-version: 1.8
# - name: Make Gradle executable
# run: chmod +x ./${GITHUB_WORKSPACE}/endpoint/app/gradlew
# - name: Build with Gradle
# run: ./${GITHUB_WORKSPACE}/endpoint/app/gradlew build
# - name: Build Release APK
# run: ./${GITHUB_WORKSPACE}/endpoint/app/gradlew assembleRelease
# env:
# KEYSTORE_PATH: ${GITHUB_WORKSPACE}/endpoint/app/app/build/jata_keystore.jks
# KEYPASS: ${{ secrets.KEYPASS }}
# - name: Releasing using Hub
# uses: hacker-jak/action-release-apk@master
# env:
# GITHUB_TOKEN: ${{ secrets.TOKEN }}
# APP_FOLDER: ${GITHUB_WORKSPACE}/endpoint/app/app/build/outputs/apk/release
# RELEASE_TITLE: Latest Release Build