[2.0.0] 스위프트 패키지 리소스의 이미지 Unassigned 이슈 #22
Workflow file for this run
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
name: 쿠링 앱타겟 iOS17에서 빌드하기 | |
on: | |
issue_comment: | |
types: [created, edited] | |
jobs: | |
build: | |
if: github.event.issue.pull_request && contains(github.event.comment.body, '/ios17 앱 빌드해줘') | |
runs-on: macos-13 #최신버전 | |
steps: | |
# 빌드 요청 시작 | |
- name: Build iOS17 | |
run: | | |
echo "start build" | |
# iOS17 빌드 응답 커멘트 | |
- name: Add Build comment | |
uses: actions/github-script@v5 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: '🔨 iOS 17.0 iPhone 14 Pro 에서 앱타겟을 빌드합니다.' | |
}) | |
# 코드를 체크아웃 합니다. | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# Xcode 버전을 설정합니다. | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '15.0' | |
# KuringApp 스킴을 빌드합니다. | |
- name: KuringApp 빌드 | |
run: | | |
cd KuringApp | |
xcodebuild build -scheme KuringApp -destination 'platform=iOS Simulator,OS=17.0,name=iPhone 14 Pro' CODE_SIGNING_REQUIRED=NO | |
# 빌드 성공시 커멘트 | |
- name: Add Build comment | |
uses: actions/github-script@v5 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: '📬 테스트가 종료되었습니다. Actions에서 결과를 확인해주세요.' | |
}) |