-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/baekteun/TodayWhat-new in…
…to 152-settings-school-block-missing
- Loading branch information
Showing
15 changed files
with
101 additions
and
205 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 |
---|---|---|
|
@@ -30,18 +30,6 @@ env: | |
ENCRYPTED_IOS_GOOGLE_SERVICE_PLIST_PATH: ${{ 'Projects/App/iOS/Resources/GoogleService-Info.plist.gpg' }} | ||
DECRYPTED_IOS_GOOGLE_SERVICE_PLIST_PATH: ${{ 'Projects/App/iOS/Resources/GoogleService-Info.plist' }} | ||
|
||
STAGE_PROVISION_SECRET: ${{ secrets.STAGE_PROVISION_SECRET }} | ||
ENCRYPTED_STAGE_PROVISION_PATH: ${{ 'Tuist/Signing/StageProvisionProfile.zip.gpg' }} | ||
DECRYPTED_STAGE_PROVISION_PATH: ${{ 'Tuist/Signing/StageProvisionProfile.zip' }} | ||
|
||
PROD_PROVISION_SECRET: ${{ secrets.PROD_PROVISION_SECRET }} | ||
ENCRYPTED_PROD_PROVISION_PATH: ${{ 'Tuist/Signing/ProdProvisionProfile.zip.gpg' }} | ||
DECRYPTED_PROD_PROVISION_PATH: ${{ 'Tuist/Signing/ProdProvisionProfile.zip' }} | ||
|
||
MASTER_KEY_SECRET: ${{ secrets.MASTER_KEY_SECRET }} | ||
ENCRYPTED_MASTER_KEY_PATH: ${{ 'Tuist/master.key.gpg' }} | ||
DECRYPTED_MASTER_KEY_PATH: ${{ 'Tuist/master.key' }} | ||
|
||
FASTLANE_SECRET: ${{ secrets.FASTLANE_SECRET }} | ||
ENCRYPTED_FASTLANE_ENV_PATH: ${{ 'fastlane/.env.default.gpg' }} | ||
DECRYPTED_FASTLANE_ENV_PATH: ${{ 'fastlane/.env.default' }} | ||
|
@@ -58,6 +46,10 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.MATCH_SSH_PRIVATE_KEY }} | ||
|
||
- name: Decode encrypted files | ||
run: sh .github/workflows/AppStore/Decode.sh | ||
shell: bash | ||
|
@@ -67,10 +59,6 @@ jobs: | |
- name: Install tuist | ||
run: mise install tuist | ||
|
||
- name: Configure Keychain | ||
run: sh .github/workflows/AppStore/Keychain.sh | ||
shell: bash | ||
|
||
- name: Install fastlane | ||
run: brew install fastlane | ||
|
||
|
@@ -95,6 +83,9 @@ jobs: | |
run: sh .github/workflows/AppStore/Deploy.sh | ||
shell: bash | ||
env: | ||
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }} | ||
MATCH_KEYCHAIN_PASSWORD: ${{ secrets.MATCH_KEYCHAIN_PASSWORD }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSPHRASE }} | ||
VERSION: ${{ github.event.inputs.version }} | ||
PLATFORM: ${{ github.event.inputs.platform }} | ||
|
||
|
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
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,29 +1,6 @@ | ||
#!/bin/bash | ||
|
||
security create-keychain -p "" "$KEYCHAIN" | ||
security list-keychains -s "$KEYCHAIN" | ||
security default-keychain -s "$KEYCHAIN" | ||
security unlock-keychain -p "" "$KEYCHAIN" | ||
security set-keychain-settings -lut 3600 | ||
security list-keychains | ||
|
||
tuist signing decrypt | ||
security import "Tuist/Signing/TodayWhat.p12" -k "$KEYCHAIN" -P "$CERTS_EXPORT_PWD" -A | ||
security set-key-partition-list -S apple-tool:,apple: -s -k "" "$KEYCHAIN" | ||
|
||
mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles" | ||
cd "Tuist/Signing" | ||
|
||
echo `ls *.mobileprovision` | ||
for PROVISION in `ls *.mobileprovision` | ||
do | ||
UUID=`/usr/libexec/PlistBuddy -c 'Print :UUID' /dev/stdin <<< $(security cms -D -i ./$PROVISION)` | ||
cp "./$PROVISION" "$HOME/Library/MobileDevice/Provisioning Profiles/$UUID.mobileprovision" | ||
done | ||
|
||
echo `ls *.provisionprofile` | ||
for PROVISION in `ls *.provisionprofile` | ||
do | ||
UUID=`/usr/libexec/PlistBuddy -c 'Print :UUID' /dev/stdin <<< $(security cms -D -i ./$PROVISION)` | ||
cp "./$PROVISION" "$HOME/Library/MobileDevice/Provisioning Profiles/$UUID.provisionprofile" | ||
done | ||
security list-keychains |
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
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,18 +27,6 @@ env: | |
ENCRYPTED_IOS_GOOGLE_SERVICE_PLIST_PATH: ${{ 'Projects/App/iOS/Resources/GoogleService-Info.plist.gpg' }} | ||
DECRYPTED_IOS_GOOGLE_SERVICE_PLIST_PATH: ${{ 'Projects/App/iOS/Resources/GoogleService-Info.plist' }} | ||
|
||
STAGE_PROVISION_SECRET: ${{ secrets.STAGE_PROVISION_SECRET }} | ||
ENCRYPTED_STAGE_PROVISION_PATH: ${{ 'Tuist/Signing/StageProvisionProfile.zip.gpg' }} | ||
DECRYPTED_STAGE_PROVISION_PATH: ${{ 'Tuist/Signing/StageProvisionProfile.zip' }} | ||
|
||
PROD_PROVISION_SECRET: ${{ secrets.PROD_PROVISION_SECRET }} | ||
ENCRYPTED_PROD_PROVISION_PATH: ${{ 'Tuist/Signing/ProdProvisionProfile.zip.gpg' }} | ||
DECRYPTED_PROD_PROVISION_PATH: ${{ 'Tuist/Signing/ProdProvisionProfile.zip' }} | ||
|
||
MASTER_KEY_SECRET: ${{ secrets.MASTER_KEY_SECRET }} | ||
ENCRYPTED_MASTER_KEY_PATH: ${{ 'Tuist/master.key.gpg' }} | ||
DECRYPTED_MASTER_KEY_PATH: ${{ 'Tuist/master.key' }} | ||
|
||
FASTLANE_SECRET: ${{ secrets.FASTLANE_SECRET }} | ||
ENCRYPTED_FASTLANE_ENV_PATH: ${{ 'fastlane/.env.default.gpg' }} | ||
DECRYPTED_FASTLANE_ENV_PATH: ${{ 'fastlane/.env.default' }} | ||
|
@@ -55,26 +43,29 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.MATCH_SSH_PRIVATE_KEY }} | ||
|
||
- name: Decode encrypted files | ||
run: sh .github/workflows/AppStore/Decode.sh | ||
run: | | ||
sh .github/workflows/AppStore/Decode.sh | ||
sh .github/workflows/AppStore/Keychain.sh | ||
shell: bash | ||
env: | ||
KEYCHAIN: "todaywhat.keychain" | ||
|
||
- uses: jdx/mise-action@v2 | ||
|
||
- name: Install tuist | ||
run: | | ||
tuist_version=`cat .tuist-version` | ||
mise install tuist@$tuist_version | ||
- name: Configure Keychain | ||
run: sh .github/workflows/AppStore/Keychain.sh | ||
shell: bash | ||
mise install tuist | ||
- name: Install fastlane | ||
run: brew install fastlane | ||
|
||
- name: Install dependencies | ||
run: tuist fetch | ||
run: tuist install | ||
|
||
- name: Project generate | ||
run: TUIST_ENV=CD tuist generate | ||
|
@@ -90,6 +81,9 @@ jobs: | |
run: sh .github/workflows/TestFlight/TestFlight.sh | ||
shell: bash | ||
env: | ||
FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }} | ||
MATCH_KEYCHAIN_PASSWORD: ${{ secrets.MATCH_KEYCHAIN_PASSWORD }} | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSPHRASE }} | ||
PLATFORM: ${{ github.event.inputs.platform }} | ||
VERSION: ${{ github.event.inputs.version }} | ||
|
||
|
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
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.