Skip to content

Commit 61a36fa

Browse files
authored
chore: updated the github test workflow (#194)
1 parent e5f0741 commit 61a36fa

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

.github/workflows/test.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
strategy:
1313
matrix:
1414
destination:
15-
- "platform=iOS Simulator,OS=16.2,name=iPhone 8"
15+
- "platform=iOS Simulator,OS=18.1,name=iPhone 16"
1616
steps:
1717
- name: Checkout Code
1818
uses: actions/checkout@v3
1919
- name: Setup Node
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
22-
node-version: "16"
22+
node-version: "20"
2323
- name: Install NPM Dependencies
2424
run: npm ci
2525
- name: Build NPM Module
@@ -38,14 +38,14 @@ jobs:
3838
- name: Checkout Code
3939
uses: actions/checkout@v3
4040
- name: Setup Node
41-
uses: actions/setup-node@v3
41+
uses: actions/setup-node@v4
4242
with:
43-
node-version: "16"
44-
- name: Setup Java
45-
uses: actions/setup-java@v3
43+
node-version: "20"
44+
- name: Setup JDK 21
45+
uses: actions/setup-java@v4
4646
with:
4747
distribution: "zulu"
48-
java-version: "17"
48+
java-version: "21"
4949
- name: Install NPM Dependencies
5050
run: npm ci
5151
- name: Build NPM Module

ios/Plugin.xcodeproj/project.pbxproj

+9-3
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
50ADFF90201F53D600D50D53 = {
200200
CreatedOnToolsVersion = 9.2;
201201
LastSwiftMigration = 1100;
202-
ProvisioningStyle = Automatic;
202+
ProvisioningStyle = Manual;
203203
};
204204
};
205205
};
@@ -519,11 +519,14 @@
519519
baseConfigurationReference = 3486FE8CBADD42C9317B9C19 /* Pods-PluginTests.debug.xcconfig */;
520520
buildSettings = {
521521
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
522-
CODE_SIGN_STYLE = Automatic;
522+
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
523+
CODE_SIGN_STYLE = Manual;
524+
DEVELOPMENT_TEAM = "";
523525
INFOPLIST_FILE = PluginTests/Info.plist;
524526
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
525527
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.PluginTests;
526528
PRODUCT_NAME = "$(TARGET_NAME)";
529+
PROVISIONING_PROFILE_SPECIFIER = "";
527530
SWIFT_VERSION = 5.0;
528531
TARGETED_DEVICE_FAMILY = "1,2";
529532
};
@@ -534,11 +537,14 @@
534537
baseConfigurationReference = 0F9355E366F06F9B469B2DA1 /* Pods-PluginTests.release.xcconfig */;
535538
buildSettings = {
536539
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
537-
CODE_SIGN_STYLE = Automatic;
540+
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
541+
CODE_SIGN_STYLE = Manual;
542+
DEVELOPMENT_TEAM = "";
538543
INFOPLIST_FILE = PluginTests/Info.plist;
539544
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
540545
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.PluginTests;
541546
PRODUCT_NAME = "$(TARGET_NAME)";
547+
PROVISIONING_PROFILE_SPECIFIER = "";
542548
SWIFT_VERSION = 5.0;
543549
TARGETED_DEVICE_FAMILY = "1,2";
544550
};

0 commit comments

Comments
 (0)