@livx.cc/appwrap 0.39.11 → 0.39.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -30,18 +30,28 @@ jobs:
|
|
|
30
30
|
with: { node-version: 22 }
|
|
31
31
|
- uses: actions/setup-java@v4
|
|
32
32
|
with: { distribution: temurin, java-version: 17 }
|
|
33
|
+
# Cache the Gradle distribution + dependency/build caches — the Android build is ~70% of CI time;
|
|
34
|
+
# without this every run re-downloads everything (~4–5 min). Warms on the first run.
|
|
35
|
+
- uses: actions/cache@v4
|
|
36
|
+
with:
|
|
37
|
+
path: |
|
|
38
|
+
~/.gradle/caches
|
|
39
|
+
~/.gradle/wrapper
|
|
40
|
+
key: gradle-${{ runner.os }}-${{ hashFiles('bun.lock', 'package.json') }}
|
|
41
|
+
restore-keys: gradle-${{ runner.os }}-
|
|
33
42
|
- uses: android-actions/setup-android@v3
|
|
34
43
|
- run: sudo apt-get update -qq && sudo apt-get install -y -qq imagemagick # appwrap icon-gen needs an image tool (no sips on Linux) — else the default NS icon ships
|
|
35
44
|
- run: bun install && bun run build # → dist/ (the PWA bundle the wrapper ships)
|
|
36
45
|
# Pin global tools — unpinned installs can grab a breaking release mid-flight. Bump deliberately.
|
|
37
|
-
- run:
|
|
46
|
+
- run: bun add -g nativescript@9.0.6
|
|
38
47
|
- run: bunx @livx.cc/appwrap init # native/ is generated (gitignored) — regenerate fresh in CI
|
|
39
48
|
- working-directory: native
|
|
40
|
-
run:
|
|
49
|
+
run: bun install
|
|
41
50
|
- name: Decode upload keystore
|
|
42
51
|
run: echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 -d > "$RUNNER_TEMP/upload.keystore"
|
|
43
52
|
- name: Build signed AAB
|
|
44
53
|
env:
|
|
54
|
+
GRADLE_OPTS: "-Dorg.gradle.caching=true -Dorg.gradle.parallel=true -Dorg.gradle.daemon=false"
|
|
45
55
|
APPWRAP_ANDROID_KEYSTORE: ${{ runner.temp }}/upload.keystore
|
|
46
56
|
APPWRAP_ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
|
|
47
57
|
APPWRAP_ANDROID_KEYSTORE_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }}
|