-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] #154 새로운 외부 베타 그룹 배포 워크플로우 추가
- Loading branch information
1 parent
b9933e0
commit 763fc80
Showing
2 changed files
with
64 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -5,7 +5,8 @@ name: build-test | |
|
||
on: | ||
pull_request: | ||
branches: ["develop/*"] | ||
branches: | ||
- "develop*" | ||
|
||
workflow_dispatch: | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# This workflow will build a Swift project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | ||
|
||
name: testflight-release-ipad | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop-ipad | ||
types: | ||
- closed | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }} | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Xcode | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: latest-stable | ||
|
||
- uses: shimataro/ssh-key-action@v2 | ||
with: | ||
key: ${{ secrets.SSH_KEY }} | ||
known_hosts: ${{ secrets.KNOWN_HOSTS }} | ||
|
||
- name: initial mise | ||
run: | | ||
curl https://mise.jdx.dev/install.sh | sh | ||
echo "$HOME/.local/share/mise/bin" >> $GITHUB_PATH | ||
echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH | ||
- name: initial tuist | ||
run: mise install tuist | ||
|
||
- name: Generate Project | ||
env: | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }} | ||
run: | | ||
fastlane appstore_profile | ||
make release | ||
- name: Build Archive | ||
env: | ||
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }} | ||
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }} | ||
APP_STORE_CONNECT_API: ${{ secrets.APP_STORE_CONNECT_API }} | ||
run: fastlane archive | ||
|
||
- name: Testflight Release | ||
env: | ||
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }} | ||
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }} | ||
APP_STORE_CONNECT_API: ${{ secrets.APP_STORE_CONNECT_API }} | ||
run: fastlane testflight_release_ipad |