Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] implement GitHub actions #1568

Closed
wants to merge 383 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
383 commits
Select commit Hold shift + click to select a range
12fa85a
Resolved conflicts
Decoder07 Jul 26, 2023
d7ceae6
Updated released version
Decoder07 Jul 26, 2023
d32439f
updated trunk linter
ygit Jul 27, 2023
9933afb
Updated app settings opening dialog in android (#1455)
Decoder07 Jul 27, 2023
a6e4e13
released sample app version 1.4.152 (287) 🍀
ygit Jul 27, 2023
cd8eace
corrected lint warnings
ygit Jul 28, 2023
fbb893d
Prebuilt/permission app settings fix (#1456)
Decoder07 Jul 31, 2023
bf0a066
Fixed errors
Decoder07 Jul 31, 2023
48e177b
released sample app version 1.4.153 (288) 🍀
Decoder07 Jul 31, 2023
0e68d96
updated gitignore
ygit Jul 31, 2023
1a21667
Fixed avatar title logic (#1457)
Decoder07 Jul 31, 2023
c1c8d49
Prebuilt/parity issues (#1458)
Decoder07 Jul 31, 2023
30ad007
Updated avatar colors
Decoder07 Jul 31, 2023
9db1dcd
released sample app version 1.4.154 (289) 🍀
Decoder07 Jul 31, 2023
69262c0
Added design fixes (#1459)
Decoder07 Jul 31, 2023
d698111
released sample app version 1.4.155 (290)
Decoder07 Jul 31, 2023
79c3b24
Prebuilt icon fixes (#1460)
Decoder07 Aug 1, 2023
f3d311e
released sample app version 1.4.156 (291) 🍀
Decoder07 Aug 1, 2023
4a921eb
Updated Page routes and context issues (#1461)
Decoder07 Aug 1, 2023
1c429b3
updated packages
ygit Aug 1, 2023
1796198
released sample app version 1.4.158 (293) 🍀
ygit Aug 1, 2023
c79eb24
Fixed const error
Decoder07 Aug 1, 2023
3d9206d
released sample app version 1.5.1 (301) 🍀
ygit Aug 1, 2023
a5bbae9
updated pubspec
ygit Aug 1, 2023
6d2529a
Updated loader with room state update (#1463)
Decoder07 Aug 2, 2023
c5b961e
updated pods
ygit Aug 2, 2023
f6328ab
updated sample app packages
ygit Aug 2, 2023
8ee89ba
Prebuilt/participant chip (#1464)
Decoder07 Aug 2, 2023
c57ca39
updated packages
ygit Aug 2, 2023
4eebaad
updated browser recording class
ygit Aug 2, 2023
f6e31d4
Merge pull request #1465 from 100mslive/updatedBrowserRecording
Decoder07 Aug 2, 2023
a15d150
updated packages
ygit Aug 2, 2023
01312f1
Fixed border and loader colors (#1466)
Decoder07 Aug 2, 2023
7218069
joining with audio & video unmuted
ygit Aug 2, 2023
fb7e42e
released sample app version 1.5.2 (302) 🍀
ygit Aug 2, 2023
d0d1182
updated trunk yaml
ygit Aug 2, 2023
4591f21
updated gradle wrapper properties
ygit Aug 2, 2023
f8e5de8
Fixed pip in prebuilt hls failure (#1468)
Decoder07 Aug 2, 2023
3b06cc3
released sample app version 1.5.3 (303) 🍀
Decoder07 Aug 2, 2023
84f705c
Added bottom padding in grant permissions button (#1469)
Decoder07 Aug 2, 2023
2ffbedb
Prebuilt/bottom sheet fix (#1470)
Decoder07 Aug 2, 2023
044aeb8
released sample app version 1.5.4 (304) 🍀
Decoder07 Aug 2, 2023
118bb7a
Merge branch 'develop' into feature/prebuilt
ygit Aug 2, 2023
fce8bb0
resolved package warnings
ygit Aug 2, 2023
8bab5ba
Create android.yml (#1471)
ygit Aug 2, 2023
ce7dc61
released sample app version 1.5.5 (305) 🍀
ygit Aug 2, 2023
c1242a7
Merge branch 'feature/prebuilt' of https://github.com/100mslive/100ms…
ygit Aug 3, 2023
6d9cf2a
updated Prebuilt ReadMe
ygit Aug 3, 2023
6a8cee7
updated trunk
ygit Aug 3, 2023
d5e453d
updated ReadME
ygit Aug 3, 2023
e0853ac
updated readme
ygit Aug 3, 2023
dcfcf3c
Update README.md
ygit Aug 3, 2023
ad371a1
Update README.md
ygit Aug 3, 2023
9216094
Merge pull request #1473 from 100mslive/updatedReadMe
Decoder07 Aug 3, 2023
b12ab8d
Merge branch 'develop' into feature/prebuilt
ygit Aug 3, 2023
defe573
released sample app version 1.5.6 (306) 🍀
ygit Aug 3, 2023
3688c49
updated app icon on android & iOS
ygit Aug 4, 2023
9b91267
Fixed wakelock issue (#1475)
Decoder07 Aug 4, 2023
9e4a843
Merge pull request #1476 from 100mslive/updatedAppIcon
Decoder07 Aug 4, 2023
66e84af
released sample app version 1.5.7 (307) 🍀
ygit Aug 4, 2023
de7a072
updated packages
ygit Aug 4, 2023
6ecc786
updated trunk yaml
ygit Aug 4, 2023
86abb22
resolved lint warnings
ygit Aug 4, 2023
195e61b
removed splash screen from iOS
ygit Aug 4, 2023
db9601b
Merge pull request #23 from 100mslive/main
ygit Aug 5, 2023
0774cdb
Merge pull request #24 from 100mslive/feature/prebuilt
ygit Aug 5, 2023
85b5fe7
added circle ci config file
ygit Aug 5, 2023
78c5375
updated config
ygit Aug 5, 2023
5f7926d
updated github actions yaml
ygit Aug 5, 2023
1bacc3a
updated yaml
ygit Aug 5, 2023
4023f36
updated yaml
ygit Aug 5, 2023
8531f9f
update yaml
ygit Aug 5, 2023
684f36a
updated yaml
ygit Aug 5, 2023
d859dc2
updated packages
ygit Aug 5, 2023
b902bd8
added fastlane files
ygit Aug 5, 2023
7c266e3
added graldew files
ygit Aug 5, 2023
e9e9672
updated release script
ygit Aug 5, 2023
824bf2d
released sample app version 1.5.8 (308) 🍀
Aug 5, 2023
ba13d95
added iOS provisioning profiles for build script
ygit Aug 5, 2023
5c8b759
updated pods
ygit Aug 5, 2023
fc181bb
updated audio tile file
ygit Aug 5, 2023
7f76202
updated flutter channel
ygit Aug 5, 2023
f9fba36
updated secrets passed to Fastfile
ygit Aug 6, 2023
feb917c
updated packages
ygit Aug 7, 2023
ea96f39
updated Example app changelog
ygit Aug 7, 2023
2dc6cc6
updated padding between video views
ygit Aug 8, 2023
429c0c8
Merge pull request #1493 from 100mslive/feature/removePadding
Decoder07 Aug 8, 2023
27010d0
updated package versions
ygit Aug 8, 2023
5f95dcb
Android/layout api (#1494)
Decoder07 Aug 9, 2023
e3daee6
Prebuilt/inset collapsed mode (#1495)
Decoder07 Aug 9, 2023
16d4d37
Updated local peer bottom sheet
Decoder07 Aug 9, 2023
5f878cd
Merge branch 'develop' into feature/prebuilt
ygit Aug 10, 2023
4bd88e1
resolved lint warnings
ygit Aug 10, 2023
8bf351e
Completed inset mode
Decoder07 Aug 10, 2023
98815ea
Prebuilt/update meeting icons (#1497)
Decoder07 Aug 10, 2023
6e8c4f2
Merge branch 'feature/prebuilt' into prebuilt/local-peer-bottom-sheet
Decoder07 Aug 10, 2023
781906b
Merge pull request #1499 from 100mslive/prebuilt/local-peer-bottom-sheet
Decoder07 Aug 10, 2023
7f07b87
Solved errors
Decoder07 Aug 10, 2023
ba6d439
Added Screen Footer (#1500)
Decoder07 Aug 10, 2023
ecce7f8
1482/screen header (#1501)
Decoder07 Aug 10, 2023
e306322
resolved lint warnings
ygit Aug 10, 2023
e654f7f
Merge branch 'feature/prebuilt' of https://github.com/100mslive/100ms…
ygit Aug 10, 2023
1916d02
Added marquee to name and network health indicator (#1503)
Decoder07 Aug 11, 2023
df419f2
resolved package warnings
ygit Aug 11, 2023
df95f83
Sample app/removed unused dependencies (#1502)
Decoder07 Aug 11, 2023
b7acb09
updated example app changelog
ygit Aug 11, 2023
e754038
released sample app version 1.5.10 (311) 🍀
Decoder07 Aug 11, 2023
d0f03b2
Removed network indicator from inset tile (#1504)
Decoder07 Aug 16, 2023
84b6a58
Fixed degraded and network icon (#1505)
Decoder07 Aug 16, 2023
22de4cf
updated iOS SDK version
ygit Aug 16, 2023
9aed36a
updated iOS SDK version
ygit Aug 17, 2023
c179ed8
updated packages
ygit Aug 18, 2023
b890700
Pageview/test app (#1510)
Decoder07 Aug 18, 2023
b1065cc
Merge branch 'release/1.7.4' into feature/prebuilt
ygit Aug 18, 2023
7f29fd4
Merge branch 'develop' into feature/prebuilt
ygit Aug 18, 2023
874a49f
Merge branch 'develop' into feature/prebuilt
ygit Aug 20, 2023
28ad3e4
removed duplicate declaration of getRoomLayout
ygit Aug 22, 2023
0f946e6
updated package
ygit Aug 22, 2023
b2a0865
added preview for role implementation on iOS
ygit Aug 22, 2023
a7ded55
Prebuilt/updated header (#1518)
Decoder07 Aug 22, 2023
164cebb
Merge branch 'feature/prebuilt' into feature/previewForRoleAPI
ygit Aug 22, 2023
9631e10
updated packages
ygit Aug 22, 2023
eaa5f38
Merge branch 'feature/prebuilt' into feature/previewForRoleAPI
ygit Aug 22, 2023
4d48244
corrected lint warnings
ygit Aug 22, 2023
41bc3b0
released sample app version 1.5.22 (322) 🍀
ygit Aug 22, 2023
4effb27
updated Example app Changelog
ygit Aug 22, 2023
687280e
1492/screenshare layout (#1520)
Decoder07 Aug 23, 2023
84c5cb2
Added full screen screenshare (#1525)
Decoder07 Aug 23, 2023
530793d
updated package versions
ygit Aug 23, 2023
3d32fb8
released sample app version 1.5.22 (322) 🍀
ygit Aug 23, 2023
068737c
updated gems
ygit Aug 23, 2023
1c3746d
resolved runtime error on iOS Simulators
ygit Aug 23, 2023
12e3cbd
edge to edge player on iOS
ygit Aug 23, 2023
eca0d98
setting zoom mode on android
ygit Aug 23, 2023
8adfc13
resolved lint warnings
ygit Aug 24, 2023
2368474
Updated stream icon color
Decoder07 Aug 24, 2023
56f00d7
updated Example app Changelog
ygit Aug 22, 2023
f05d5bd
1492/screenshare layout (#1520)
Decoder07 Aug 23, 2023
679471c
Added full screen screenshare (#1525)
Decoder07 Aug 23, 2023
2b6c721
updated package versions
ygit Aug 23, 2023
5c9d39e
updated gems
ygit Aug 23, 2023
6349f0c
Updated stream icon color
Decoder07 Aug 24, 2023
83a36dc
Merge branch 'feature/prebuilt' into feature/previewForRoleAPI
Decoder07 Aug 24, 2023
0c619ac
Merge pull request #1526 from 100mslive/feature/edgeToEdgePlayer
Decoder07 Aug 24, 2023
28db7ee
Fixed previewForRole parsing
Decoder07 Aug 24, 2023
c31c3f7
Reduced spacing between tiles (#1527)
Decoder07 Aug 24, 2023
4f54a0d
Merge branch 'feature/prebuilt' into feature/previewForRoleAPI
Decoder07 Aug 24, 2023
6f30acb
updated gradle versions
ygit Aug 24, 2023
472959d
updated status bar style on iOS app
ygit Aug 24, 2023
232d619
released sample app version 1.5.23 (323) 🍀
ygit Aug 24, 2023
2c477be
updated trunk linter
ygit Aug 24, 2023
2ae0e60
updated android SDK path
ygit Aug 24, 2023
a3b1fcc
added default data type to result extension
ygit Aug 24, 2023
7ff167d
added kotlin implementation of preview for role APIs
ygit Aug 24, 2023
44a13f4
Feature/1515 viewer on stage flow (#1528)
Decoder07 Aug 25, 2023
a3b75b0
Merge branch 'feature/prebuilt' into feature/previewForRoleAPI
ygit Aug 25, 2023
f2f4218
released sample app version 1.5.24 (324) 🍀
ygit Aug 25, 2023
26a9376
resolved lint warnings
ygit Aug 25, 2023
6dc72b3
Added preview for role in android (#1530)
Decoder07 Aug 25, 2023
9174a1c
Fixed issues wuth preview for role
Decoder07 Aug 25, 2023
b587825
released sample app version 1.5.25 (325) 🍀
Decoder07 Aug 25, 2023
d016900
Added docs for return types
Decoder07 Aug 26, 2023
3672d2f
Refactored bugs and fixed theme issues (#1531)
Decoder07 Aug 28, 2023
bc2cbae
resolved lint warnings
ygit Aug 28, 2023
9db45bd
released sample app version 1.5.26 (326) 🍀
Decoder07 Aug 28, 2023
7908831
Fixed minimize and maximize icon color
Decoder07 Aug 29, 2023
f27a52d
updated android sdk branch
Decoder07 Aug 29, 2023
3a64472
Start recording button state fix (#1532)
Decoder07 Aug 29, 2023
2f48686
resolved conflicts
Decoder07 Aug 29, 2023
cead77f
Merge pull request #1519 from 100mslive/feature/previewForRoleAPI
Decoder07 Aug 29, 2023
6bd56e6
released sample app version 1.5.27 (327) 🍀
ygit Aug 29, 2023
0cb1e84
resolved lint warnings
ygit Aug 29, 2023
df3f875
Fixed errors
Decoder07 Aug 29, 2023
70588b1
resolved lint warnings
ygit Aug 30, 2023
9041f17
resolved hls url warning
ygit Aug 30, 2023
418e96b
Fixed error
Decoder07 Aug 30, 2023
98bee12
Added chat and participant list (#1533)
Decoder07 Aug 31, 2023
5758c11
Updated layout api (#1534)
Decoder07 Aug 31, 2023
78fb7c6
released sample app version 1.5.28 (328) 🍀
Decoder07 Aug 31, 2023
ab62976
Fixed chats and peer name bottom sheet (#1535)
Decoder07 Sep 1, 2023
378f2be
setting chat area to 20% of screen height
ygit Sep 1, 2023
46e8c87
Merge pull request #1536 from 100mslive/fix/chatArea
Decoder07 Sep 1, 2023
2aaae8f
released sample app version 1.5.29 (329) 🍀
ygit Sep 1, 2023
431a8c9
resolved lint warnings
ygit Sep 1, 2023
9c1b223
Prebuilt/toasts stack (#1537)
Decoder07 Sep 2, 2023
f7621b6
added code comments
ygit Sep 2, 2023
9699ec7
reverted files
ygit Sep 2, 2023
7b467b7
resolved lint warnings
ygit Sep 2, 2023
c87c5b7
released sample app version 1.5.30 (330) 🍀
Decoder07 Sep 2, 2023
a918abf
Fixed const error
Decoder07 Sep 2, 2023
a871140
Merge branch 'feature/prebuilt' into doc/addCodeComments
Decoder07 Sep 2, 2023
d343798
Merge pull request #1538 from 100mslive/doc/addCodeComments
Decoder07 Sep 2, 2023
c4aa547
Bump semver in /sample apps/hms-callkit-app/functions
dependabot[bot] Sep 3, 2023
4d3ebcd
Fixed bugs in preview for role and inset tile mode (#1540)
Decoder07 Sep 4, 2023
ea2e17a
resolved lint warnings
ygit Sep 4, 2023
c108778
released sample app version 1.5.31 (331) 🍀
ygit Sep 4, 2023
3b355c7
Pop full screen screenshare when screenshare is stopped (#1541)
Decoder07 Sep 4, 2023
8a34ebb
Fixed iOS layout api bug (#1542)
Decoder07 Sep 4, 2023
1b22f88
released sample app version 1.5.32 (332) 🍀
Decoder07 Sep 4, 2023
3c59fa0
Added audio level lottie animation (#1543)
Decoder07 Sep 4, 2023
bdcbc34
Fixed the bring on stage flow dialog (#1546)
Decoder07 Sep 5, 2023
55f3bf5
released sample app version 1.5.33 (333) 🍀
ygit Sep 5, 2023
ef5f3f2
updated enum type for iOS Room Peer Count update event
ygit Sep 5, 2023
f1e4470
Merge branch 'develop' into feature/prebuilt
ygit Sep 5, 2023
6a9fc0d
Merge pull request #1547 from 100mslive/fix/iOSPeerCountEvent
Decoder07 Sep 5, 2023
0a3b4d0
added inline code comments
ygit Sep 5, 2023
d63f660
Merge pull request #1548 from 100mslive/added/publicAPICodeComments
Decoder07 Sep 5, 2023
ad355ba
resolved lint warnings
ygit Sep 5, 2023
849b64d
setting hls player edge to edge on screen based on Stream Size
ygit Sep 8, 2023
88cfeca
Feature/participant list and end session flow (#1551)
Decoder07 Sep 8, 2023
fdd7a35
Merge pull request #1552 from 100mslive/fix/edgeToedgePlayerBasedOnSt…
Decoder07 Sep 8, 2023
ef63549
Feature/chat overlay initstate fix (#1553)
Decoder07 Sep 8, 2023
9b5a63b
Ios sdk update (#1554)
Decoder07 Sep 8, 2023
967259a
released sample app version 1.5.37 (337) 🍀
Decoder07 Sep 9, 2023
93a909f
Updated end session flow (#1555)
Decoder07 Sep 9, 2023
17df1a4
released sample app version 1.3.38 (338) 🍀
Decoder07 Sep 9, 2023
64e8249
setting aspect ratio as per hls video stream
ygit Sep 9, 2023
a4b93bf
Merge branch 'feature/prebuilt' into fix/edgeToEdgePlayer
ygit Sep 9, 2023
55a411c
Merge pull request #1556 from 100mslive/fix/edgeToEdgePlayer
Decoder07 Sep 11, 2023
43047e5
released sample app version 1.5.39 (339) 🍀
ygit Sep 11, 2023
00b75d1
Added layout api honouring logic (#1557)
Decoder07 Sep 11, 2023
6ef3bb4
released sample app version 1.5.39 (339) 🍀
ygit Sep 11, 2023
59774f1
Remove spotlight from local peer bottom sheet (#1558)
Decoder07 Sep 11, 2023
8188a18
released sample app version 1.5.42 (342) 🍀
ygit Sep 11, 2023
b265509
Started saving previous role while changing metadata (#1559)
Decoder07 Sep 12, 2023
074350f
Bug fix/remove participant (#1560)
Decoder07 Sep 12, 2023
1044300
released sample app version 1.5.43 (343) 🍀
Decoder07 Sep 12, 2023
daee27a
Fixed remove peer bug, and small bugs (#1561)
Decoder07 Sep 12, 2023
a5876c4
released sample app version 1.5.45 (345) 🍀
Decoder07 Sep 12, 2023
eac5915
Disabled PIP and fixed ui bug (#1562)
Decoder07 Sep 13, 2023
4db0d88
reduced padding in options menu
Decoder07 Sep 13, 2023
c647827
Merge pull request #25 from ygit/dependabot/npm_and_yarn/sample-apps/…
ygit Sep 13, 2023
0f2d4e6
Merge branch 'main' into feature/prebuilt
ygit Sep 13, 2023
f5c9f4c
Bug fix/dynamic bottom sheet size (#1563)
Decoder07 Sep 13, 2023
0d31c21
Updated android sdk and fixed layout api bug
Decoder07 Sep 13, 2023
f5fca11
Merge pull request #1564 from 100mslive/bug-fix/updated-android-sdk
stanwolverine Sep 13, 2023
1717a23
released sample app version 1.5.47 (347) 🍀
Decoder07 Sep 13, 2023
9b95213
Fixed bug in participants list role change (#1565)
Decoder07 Sep 13, 2023
b8384a0
Updated iOS SDK (#1566)
Decoder07 Sep 13, 2023
9517165
released sample app version 1.5.48 (348) 🍀
Decoder07 Sep 13, 2023
0e11178
updated yaml files
ygit Sep 14, 2023
77a1b15
renamed files
ygit Sep 14, 2023
4ec9b8c
updated workflow
ygit Sep 14, 2023
17b22e1
updated workflow
ygit Sep 14, 2023
bb6daef
updated workflow
ygit Sep 14, 2023
4522ff9
updated workflow
ygit Sep 14, 2023
459bd0b
updated workflow
ygit Sep 14, 2023
8543f5c
updated workflow
ygit Sep 14, 2023
f9356a5
updated workflow
ygit Sep 14, 2023
0936db2
updated workflows
ygit Sep 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
53 changes: 53 additions & 0 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# name: 🧐 Analyze

# permissions: write-all

# on:
# push:
# branches:
# - main
# - develop
# pull_request:
# types:
# - opened
# - reopened
# - synchronize
# - ready_for_review
# branches:
# - main
# - develop
# paths-ignore:
# - '**.md'
# - doc/**
# - .git/
# - .vscode/

# jobs:
# analyze:
# name: Analyze
# if: github.event.pull_request.draft == false
# timeout-minutes: 30
# runs-on: macos-latest
# steps:
# - name: ⬇️ Checkout repository
# uses: actions/checkout@v3
# - name: ⚙️ Setup Flutter
# uses: subosito/flutter-action@v2
# with:
# channel: stable
# cache: true
# - name: ⚠️ℹ️ Run Dart analysis for hmssdk_flutter package
# uses: zgosalvez/[email protected]
# with:
# working-directory: "${{github.workspace}}/packages/hmssdk_flutter"
# - name: ⚠️ℹ️ Run Dart analysis for hms_room_kit package
# uses: zgosalvez/[email protected]
# with:
# working-directory: "${{github.workspace}}/packages/hms_room_kit"
# # - name: 📈 Check metrics
# # uses: dart-code-checker/[email protected]
# # with:
# # github_token: ${{ secrets.GITHUB_TOKEN }}
# # pull_request_comment: true
# # check_unused_files: true
# # folders: 'packages/hmssdk_flutter, packages/hms_room_kit'
73 changes: 73 additions & 0 deletions .github/workflows/deploy-uat-apps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Deploy UAT Apps

on:
# push:
# branches: [ main, develop ]
pull_request:
branches: [ main, develop ]

# # 3
# workflow_dispatch:

jobs:

build_with_signing:
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 12.x
- uses: subosito/flutter-action@v2
with:
channel: stable
- name: Install the Apple certificate and provisioning profile
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
FLUTTERADHOCDISTRIBUTION: ${{ secrets.FLUTTERADHOCDISTRIBUTION }}
FLUTTERADHOCBROADCASTUPLOADEXTENSION: ${{ secrets.FLUTTERADHOCBROADCASTUPLOADEXTENSION }}
FLUTTERAPPSTORE: ${{ secrets.FLUTTERAPPSTORE }}
FLUTTERAPPSTOREBROADCASTUPLOADEXTENSION: ${{ secrets.FLUTTERAPPSTOREBROADCASTUPLOADEXTENSION }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
SLACK_URL: ${{ secrets.SLACK_URL }}
FLUTTER_HMS_JSON: ${{ secrets.FLUTTER_HMS_JSON }}
run: |
# create variables
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
PP_PATH_FLUTTERADHOCDISTRIBUTION=$RUNNER_TEMP/FLUTTERADHOCDISTRIBUTION.mobileprovision
PP_PATH_FLUTTERADHOCBROADCASTUPLOADEXTENSION=$RUNNER_TEMP/FLUTTERADHOCBROADCASTUPLOADEXTENSION.mobileprovision
PP_PATH_FLUTTERAPPSTORE=$RUNNER_TEMP/FLUTTERAPPSTORE.mobileprovision
PP_PATH_FLUTTERAPPSTOREBROADCASTUPLOADEXTENSION=$RUNNER_TEMP/FLUTTERAPPSTOREBROADCASTUPLOADEXTENSION.mobileprovision
KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db

# import certificate and provisioning profile from secrets
echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode -o $CERTIFICATE_PATH
echo -n "$FLUTTERADHOCDISTRIBUTION" | base64 --decode -o $PP_PATH_FLUTTERADHOCDISTRIBUTION
echo -n "$FLUTTERADHOCBROADCASTUPLOADEXTENSION" | base64 --decode -o $PP_PATH_FLUTTERADHOCBROADCASTUPLOADEXTENSION
echo -n "$FLUTTERAPPSTORE" | base64 --decode -o $PP_PATH_FLUTTERAPPSTORE
echo -n "$FLUTTERAPPSTOREBROADCASTUPLOADEXTENSION" | base64 --decode -o $PP_PATH_FLUTTERAPPSTOREBROADCASTUPLOADEXTENSION

# create temporary keychain
security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH

# import certificate to keychain
security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
security list-keychain -d user -s $KEYCHAIN_PATH

# apply provisioning profile
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_FLUTTERADHOCDISTRIBUTION ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_FLUTTERADHOCBROADCASTUPLOADEXTENSION ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_FLUTTERAPPSTORE ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH_FLUTTERAPPSTOREBROADCASTUPLOADEXTENSION ~/Library/MobileDevice/Provisioning\ Profiles
# - name: Run Release Script
# run: |
# chmod +x ./release-apps.sh
# ./release-apps.sh
# shell: bash
Loading
Loading