Skip to content

Commit

Permalink
Build 1
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Nov 8, 2022
1 parent dd5cceb commit 0e0e811
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build APK

on:
push:
tags:
- "v*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build
uses: sparkfabrik/android-build-action@v1.2.0
with:
project-path: .
output-path: smsgateway-${GITHUB_REF_NAME}.apk
20 changes: 20 additions & 0 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "me.capcom.smsgateway",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0.0",
"outputFile": "app-release.apk"
}
],
"elementType": "File"
}

0 comments on commit 0e0e811

Please sign in to comment.