-
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.
- Loading branch information
1 parent
4af94f5
commit 3a26a72
Showing
5 changed files
with
177 additions
and
28 deletions.
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# 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: build-test | ||
|
||
on: | ||
pull_request: | ||
branches: [ "develop" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Xcode | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: '15.4' | ||
|
||
- 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: Test Generate | ||
env: | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
MATCH_URL: ${{ secrets.MATCH_URL }} | ||
APP_STORE_CONNECT_TEAM_ID: ${{ secrets.APP_STORE_CONNECT_TEAM_ID }} | ||
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }} | ||
run: fastlane test generate | ||
|
||
- name: Build Test | ||
run: fastlane build test |
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
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,67 @@ | ||
# 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 | ||
|
||
on: | ||
push: | ||
branches: [ "feature/*" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Xcode | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: '15.4' | ||
|
||
# - 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: Test Generate | ||
env: | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
MATCH_URL: ${{ secrets.MATCH_URL }} | ||
APP_STORE_CONNECT_TEAM_ID: ${{ secrets.APP_STORE_CONNECT_TEAM_ID }} | ||
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }} | ||
run: fastlane test generate | ||
|
||
- name: Build Test | ||
run: fastlane build test | ||
|
||
- name: Release Generate | ||
env: | ||
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | ||
MATCH_URL: ${{ secrets.MATCH_URL }} | ||
APP_STORE_CONNECT_TEAM_ID: ${{ secrets.APP_STORE_CONNECT_TEAM_ID }} | ||
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }} | ||
run: fastlane release generate | ||
|
||
- 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 build archive | ||
|
||
- name: Beta 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 beta release |
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
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