Skip to content

Commit

Permalink
Merge branch 'release/1.1.0' of https://github.com/APPSCHOOL3-iOS/fin…
Browse files Browse the repository at this point in the history
…al-pickle into release/1.1.0
  • Loading branch information
hyeonghwan committed May 16, 2024
2 parents 5fd0c42 + a9998fa commit 9f6091a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/deploy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ on:
jobs:
deploy:
name: build & test & TestFilght Upload
runs-on: macos-13
runs-on: macos-latest
strategy:
matrix:
xcode: ["15.3.0"]

env:
# app archive 및 export 에 쓰일 환경 변수 설정
XC_WORKSPACE: ${{ 'Pickle/Pickle.xcodeproj' }}
XC_WORKSPACE: 'PickleApp.xcworkspace'
XC_SCHEME: ${{ 'Pickle-release' }}
XC_ARCHIVE: ${{ 'Pickle-release.xcarchive' }}

Expand All @@ -23,8 +26,8 @@ jobs:
CERT_ENCRYPTION_KEY: ${{ secrets.CERT_ENCRYPTION_PASSWORD }} # gpg로 파일 암호화할 때 사용한 암호

# provisioning
ENCRYPTED_PROVISION_FILE_PATH: ${{ '.github/workflows/secrets/release_realDoPizza.mobileprovision.gpg' }}
DECRYPTED_PROVISION_FILE_PATH: ${{ '.github/workflows/secrets/release_realDoPizza.mobileprovision' }}
ENCRYPTED_PROVISION_FILE_PATH: ${{ '.github/workflows/secrets/release_realDoPizza1_1_0.mobileprovision.gpg' }}
DECRYPTED_PROVISION_FILE_PATH: ${{ '.github/workflows/secrets/release_realDoPizza1_1_0.mobileprovision' }}
PROVISIONING_ENCRYPTION_KEY: ${{ secrets.PROVISION_ENCRYTION_PASSWORD }} # gpg로 파일 암호화할 때 사용한 암호

# AppStore privateKey Path
Expand All @@ -44,10 +47,10 @@ jobs:
# shell 이용해서 하나의 command 수행
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0.1'
xcode-version: ${{ matrix.xcode }}

- name: Select latest Xcode
run: "sudo xcode-select -s /Applications/Xcode_15.0.app"
run: "sudo xcode-select -s /Applications/Xcode_15.3.app"

- name: Checkout project
# uses 키워드를 통해 Github Actions에서 기본으로 제공하는 액션을 사용 가능. 아래 액션은 repository 에 체크아웃하는 것
Expand Down Expand Up @@ -84,7 +87,7 @@ jobs:
- name: Archive app
# 빌드 및 아카이브
run: |
xcodebuild clean archive -project $XC_WORKSPACE -scheme $XC_SCHEME -configuration release -archivePath $XC_ARCHIVE
xcodebuild clean archive -workspace $XC_WORKSPACE -scheme $XC_SCHEME -configuration release -archivePath $XC_ARCHIVE
- name: Export app
# export 를 통해 ipa 파일 만듦
run: |
Expand Down

0 comments on commit 9f6091a

Please sign in to comment.