Skip to content

Commit c5330d0

Browse files
committed
Update workflows
1 parent d1b6684 commit c5330d0

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.github/workflows/build-desktop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
build:
1616
strategy:
1717
matrix:
18-
os: [windows-latest, ubuntu-latest, macos-latest]
18+
os: [windows-latest, ubuntu-latest]
1919
runs-on: ${{ matrix.os }}
2020

2121
steps:
@@ -37,7 +37,7 @@ jobs:
3737
run: npm install --workspace=capacitor-plugin
3838

3939
- name: Build capacitor-plugin
40-
run: npm run build --workspace=capacitor-plugin
40+
run: npm run capacitor-plugin-build
4141

4242
- name: Install web dependencies
4343
run: npm install --workspace=web

.github/workflows/build-mobile.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,24 @@ jobs:
5959
run: npm install --workspace=capacitor-plugin
6060

6161
- name: Build capacitor-plugin
62-
run: npm run build --workspace=capacitor-plugin
62+
run: npm run capacitor-plugin-build
6363

6464
- name: Install web dependencies
6565
run: npm install --workspace=web
66+
67+
- name: Build Web App
68+
run: npm run web-build
6669

6770
- name: Install mobile dependencies
6871
run: npm install --workspace=mobile
6972

70-
- name: Build Web App
71-
run: npm run build --workspace=web
72-
7373
- name: Change Android Project Permission
7474
run: chmod +x mobile/android/gradlew
7575

7676
- name: Sync Capacitor App
7777
run: npx cap sync
78+
working-directory: mobile
7879

7980
- name: Build Capacitor App
8081
run: npx cap build android --keystorepath .keystore/keystore.jks --keystorepass ${{ secrets.ANDROID_KEYSTORE_PASS }} --androidreleasetype APK
82+
working-directory: mobile

.github/workflows/build-web.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: npm install --workspace=capacitor-plugin
3333

3434
- name: Build capacitor-plugin
35-
run: npm run build --workspace=capacitor-plugin
35+
run: npm run capacitor-plugin-build
3636

3737
- name: Install web dependencies
3838
run: npm install --workspace=web

mobile/android/variables.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ext {
2-
minSdkVersion = 22
2+
minSdkVersion = 23
33
compileSdkVersion = 35
44
targetSdkVersion = 35
55
androidxActivityVersion = '1.8.0'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"shared-utils-build": "npm run build --workspace=npm-packages/shared-utils",
2424
"cli-dev": "npm run dev --workspace=cli",
2525
"cli-build": "npm run build --workspace=cli",
26-
"capacitor-plugin-build": "npm run verify:android --workspace=capacitor-plugin"
26+
"capacitor-plugin-build": "npm run build --workspace=capacitor-plugin"
2727
},
2828
"devDependencies": {
2929
"@changesets/cli": "^2.29.4"

0 commit comments

Comments
 (0)