-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build workflow, add release workflow, update git fullname in f…
…astfile
- Loading branch information
Showing
4 changed files
with
65 additions
and
16 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,37 @@ | ||
name: build-and-test-ios-app | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- main | ||
- develop | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
permissions: | ||
contents: read | ||
runs-on: [self-hosted, macOS] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Update Bundler | ||
run: bundle update | ||
|
||
- name: Check static code quality of iOS App | ||
run: bundle exec fastlane swift_lint | ||
|
||
- name: Run Unit and UI Tests | ||
run: bundle exec fastlane test | ||
|
||
- name: Build iOS App | ||
run: bundle exec fastlane build | ||
env: | ||
BUILD_NUMBER: ${{ github.run_number }} | ||
IOS_MATCH_GITLAB_AUTH: ${{ secrets.IOS_MATCH_GITLAB_AUTH }} | ||
IOS_KEYCHAIN_PASSWORD: ${{ secrets.IOS_KEYCHAIN_PASSWORD }} | ||
IOS_APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.IOS_APP_STORE_CONNECT_API_KEY_KEY_ID }} | ||
IOS_APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.IOS_APP_STORE_CONNECT_API_KEY_ISSUER_ID }} | ||
IOS_APP_STORE_CONNECT_API_KEY_PASSWORD: ${{ secrets.IOS_APP_STORE_CONNECT_API_KEY_PASSWORD }} | ||
MATCH_PASSWORD: ${{ secrets.IOS_MATCH_PASSWORD }} |
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
name: release-ios-app | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
permissions: | ||
contents: read | ||
uses: ./.github/workflows/build-and-test-ios-app.yml | ||
|
||
release: | ||
needs: build | ||
runs-on: [self-hosted, macOS] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Upload iOS App to TestFlight | ||
run: bundle exec fastlane upload_to_testflight | ||
env: | ||
IOS_APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.IOS_APP_STORE_CONNECT_API_KEY_KEY_ID }} | ||
IOS_APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.IOS_APP_STORE_CONNECT_API_KEY_ISSUER_ID }} | ||
IOS_APP_STORE_CONNECT_API_KEY_PASSWORD: ${{ secrets.IOS_APP_STORE_CONNECT_API_KEY_PASSWORD }} |
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