Skip to content

Commit f8730d5

Browse files
committed
try another wf
1 parent 04f4fad commit f8730d5

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build and distribute
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
name: build
11+
runs-on: macos-latest
12+
defaults:
13+
run:
14+
working-directory: ./object_detect_test
15+
steps:
16+
- uses: actions/checkout@v2
17+
18+
- uses: cedvdb/action-flutter-build-ios@v1
19+
with:
20+
# always use --export-options-plist=ios/GithubActionsExportOptions.plist
21+
build-cmd: flutter build ipa --release --flavor dev --export-options-plist=ios/ExportOptions.plist
22+
certificate-base64: ${{ secrets.IOS_DISTRIBUTION_CERTIFICATE_BASE64 }}
23+
certificate-password: ${{ secrets.IOS_CERTIFICATE_PASSWORD }}
24+
provisioning-profile-base64: ${{ secrets.PROVISIONING_PROFILE_BASE64 }}
25+
keychain-password: ${{ secrets.IOS_CERTIFICATE_PASSWORD }}
26+
27+
- name: Archive IPA
28+
uses: actions/upload-artifact@v4
29+
with:
30+
name: release-ipa
31+
path: build/ios/ipa/*.ipa
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>method</key>
6+
<string>app-store</string>
7+
<key>provisioningProfiles</key>
8+
<dict>
9+
<key>com.sunnyk.propertysense</key>
10+
<string>propertysense</string>
11+
</dict>
12+
<key>signingCertificate</key>
13+
<string>iPhone Distribution</string>
14+
<key>signingStyle</key>
15+
<string>manual</string>
16+
<key>teamID</key>
17+
<string>B5MFWFW4LU</string>
18+
<key>uploadSymbols</key>
19+
<true/>
20+
<key>uploadBitcode</key>
21+
<false/>
22+
</dict>
23+
</plist>

object_detect_test/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1640"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

0 commit comments

Comments
 (0)