Skip to content

Commit 05b79ac

Browse files
committed
Add capacitor android release script
1 parent a75f1a0 commit 05b79ac

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/release-capacitor.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Build Capacitor Release
22

3-
on: push
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
47

58
jobs:
69
build:
@@ -52,11 +55,7 @@ jobs:
5255
- name: Build Capacitor App
5356
run: npx cap build android --keystorepath .keystore/keystore.jks --keystorepass ${{ secrets.ANDROID_KEYSTORE_PASS }} --androidreleasetype APK
5457

55-
# - name: Create Release Build
56-
# uses: softprops/action-gh-release@v2
57-
# with:
58-
# files: |
59-
# android.zip
60-
# ios.zip
61-
# env:
62-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
- name: Create Release Build (Android)
59+
uses: softprops/action-gh-release@v2
60+
with:
61+
files: android/app/build/outputs/apk/release

0 commit comments

Comments
 (0)