From 53097f979f64391fd247a36e970c4d8c9a062260 Mon Sep 17 00:00:00 2001 From: uuuunseo Date: Fri, 28 Jun 2024 16:07:11 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20::=20[#318]=20Keychain=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CD/Keychain.sh | 8 ++++++++ .github/workflows/bitgouel-ios-cd.yml | 7 ++++++- fastlane/Fastfile | 4 +++- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/CD/Keychain.sh diff --git a/.github/workflows/CD/Keychain.sh b/.github/workflows/CD/Keychain.sh new file mode 100644 index 00000000..002dc7cd --- /dev/null +++ b/.github/workflows/CD/Keychain.sh @@ -0,0 +1,8 @@ +#!/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 1200 +security list-keychains diff --git a/.github/workflows/bitgouel-ios-cd.yml b/.github/workflows/bitgouel-ios-cd.yml index f45a584b..ad11c99e 100644 --- a/.github/workflows/bitgouel-ios-cd.yml +++ b/.github/workflows/bitgouel-ios-cd.yml @@ -47,10 +47,15 @@ jobs: - name: Install fastlane run: brew install fastlane - - name: decrypt + - name: Decrypt run: sh .github/workflows/CD/Decrypt.sh shell: bash + - name: Configure keychain + run:: sh .github/workflows/CD/Keychain.sh + shell: bash + + - name: Install Dependencies run: tuist fetch diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 0d56a304..ddee2f30 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -26,7 +26,9 @@ platform :ios do match( git_url: "https://github.com/uuuunseo/match.git", - type: "appstore" + storage_mode: "git", + type: "appstore", + readonly: true, ) build_app(