Skip to content

Commit a1a7e4f

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

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/release-capacitor.yml

Lines changed: 11 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,10 @@ 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: Move APK
59+
run: mv android/app/build/outputs/apk/release/app-release-signed.apk chisel-editor.apk
60+
61+
- name: Create Release Build (Android)
62+
uses: softprops/action-gh-release@v2
63+
with:
64+
files: chisel-editor.apk

0 commit comments

Comments
 (0)