-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,11 +27,20 @@ jobs: | |
with: | ||
ref: ${{env.release_branch}} | ||
|
||
- name: Install the Apple certificate and provisioning profile | ||
- name: Install the Apple distribution certificate and provisioning profile | ||
uses: apple-actions/import-codesign-certs@v2 | ||
with: | ||
with: | ||
keychain-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }} | ||
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }} | ||
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }} | ||
|
||
- name: Install the Apple distribution certificate and provisioning profile | ||
uses: apple-actions/import-codesign-certs@v2 | ||
with: | ||
create-keychain: false # do not create a new keychain for this value | ||
keychain-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }} | ||
p12-file-base64: ${{ secrets.DEV_CERTIFICATES_P12 }} | ||
p12-password: ${{ secrets.DEV_CERTIFICATES_P12_PASSWORD }} | ||
# - name: Bump Version Number | ||
# run: | | ||
- name: Build Binaries | ||
|
@@ -46,6 +55,19 @@ jobs: | |
chmod +x ./update_swift_package.sh | ||
./update_swift_package.sh ${{env.version}} | ||
shell: bash | ||
- name: Code Sign | ||
run: | | ||
cd iOS_SDK/OneSignalSDK | ||
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_Core/OneSignalCore.xcframework | ||
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_Extension/OneSignalExtension.xcframework | ||
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_InAppMessages/OneSignalInAppMessages.xcframework | ||
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_Location/OneSignalLocation.xcframework | ||
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_Notifications/OneSignalNotifications.xcframework | ||
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_OSCore/OneSignalOSCore.xcframework | ||
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_Outcomes/OneSignalOutcomes.xcframework | ||
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_User/OneSignalUser.xcframework | ||
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_XCFramework/OneSignalFramework.xcframework | ||
shell: bash | ||
- name: Commit Changes | ||
run: | | ||
git config --local user.email "[email protected]" | ||
|