-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add release to testflight action (#5)
Also: - change targets names - add app icon
- Loading branch information
Showing
16 changed files
with
145 additions
and
15 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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: cd | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
|
||
jobs: | ||
validation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Validate tag is valid | ||
run: | | ||
echo "${{ github.ref_name }}" | grep -P '^[0-9]+\.[0-9]+\.[0-9]+$' | ||
main: | ||
runs-on: macos-14 | ||
needs: validation | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install tools | ||
uses: jdx/mise-action@v2 | ||
- name: Set up XCode | ||
uses: mxcl/xcodebuild@v2 | ||
with: | ||
xcode: 15.2 | ||
action: none | ||
- name: Generate XCode project | ||
run: tuist generate -n | ||
|
||
- name: Import code sign | ||
uses: Apple-Actions/import-codesign-certs@master | ||
with: | ||
p12-file-base64: ${{ secrets.APPSTORE_IOS_DISTRIBUTION_CERTIFICATES }} | ||
p12-password: ${{ secrets.APPSTORE_IOS_DISTRIBUTION_CERTIFICATES_PASSWORD }} | ||
|
||
- name: Download provisioning | ||
uses: Apple-Actions/download-provisioning-profiles@master | ||
with: | ||
bundle-id: com.spruceid.wallet | ||
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }} | ||
api-key-id: ${{ secrets.APPSTORE_KEY_ID }} | ||
api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }} | ||
|
||
- name: Build and sign archive | ||
run: | | ||
xcodebuild -parallelizeTargets -archivePath "./archive" CURRENT_PROJECT_VERSION="${{ github.ref_name }}" archive -scheme release CODE_SIGNING_ALLOWED="NO" | ||
xcodebuild -exportArchive -exportOptionsPlist "Support/ExportOptions.plist" -archivePath "./archive.xcarchive" -exportPath "release" | ||
- name: Upload to TestFlight | ||
uses: Apple-Actions/upload-testflight-build@master | ||
with: | ||
app-path: release/App.ipa | ||
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }} | ||
api-key-id: ${{ secrets.APPSTORE_KEY_ID }} | ||
api-private-key: ${{ secrets.APPSTORE_PRIVATE_KEY }} |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[tools] | ||
tuist = '4' |
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 |
---|---|---|
|
@@ -38,5 +38,5 @@ | |
} | ||
} | ||
], | ||
"version" : 3 | ||
"version" : 2 | ||
} |
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
14 changes: 14 additions & 0 deletions
14
Resources/Assets.xcassets/AppIcon.appiconset/Contents.json
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "Frame 1.jpg", | ||
"idiom" : "universal", | ||
"platform" : "ios", | ||
"size" : "1024x1024" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>destination</key> | ||
<string>export</string> | ||
<key>manageAppVersionAndBuildNumber</key> | ||
<true/> | ||
<key>method</key> | ||
<string>app-store</string> | ||
<key>provisioningProfiles</key> | ||
<dict> | ||
<key>com.spruceid.wallet</key> | ||
<string>SpruceKit Wallet profile</string> | ||
</dict> | ||
<key>signingCertificate</key> | ||
<string>iPhone Distribution</string> | ||
<key>signingStyle</key> | ||
<string>manual</string> | ||
<key>stripSwiftSymbols</key> | ||
<true/> | ||
<key>uploadSymbols</key> | ||
<true/> | ||
<key>teamID</key> | ||
<string>FZVYR3KYL4</string> | ||
</dict> | ||
</plist> |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import SwiftUI | ||
import AppUI | ||
import AppUIKit | ||
|
||
@main | ||
struct AppApp: App { | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.