From dc7a44c6e5e3a7bc74cf33c397010544ffe08ef2 Mon Sep 17 00:00:00 2001 From: DEV_Ruel <67133244+iOS-Ruel@users.noreply.github.com> Date: Tue, 27 Aug 2024 00:45:03 +0900 Subject: [PATCH] Update swift.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ignore되어있는 .xcconfig secret에 추가후 스크립트 변경 --- .github/workflows/swift.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index f96f184..23355d9 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -16,9 +16,13 @@ jobs: steps: - uses: actions/checkout@v4 + + - name: Create API_KEY.xcconfig file + run: | + echo "API_KEY=${{ secrets.API_KEY }}" > CamPlace/CamPlace/API_KEY.xcconfig + - name: Build Xcode run: | xcodebuild clean test -project CamPlace/CamPlace.xcodeproj \ -scheme CamPlace \ -destination 'platform=iOS Simulator,name=iPhone 13,OS=latest' -