-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
361 update fastlane and create separate action for release (#362)
* fix: update fastlane * feat: update github action and workflow
- Loading branch information
Showing
5 changed files
with
105 additions
and
71 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
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,32 @@ | ||
# This workflow take the latest app an submit it for review (to go in production) | ||
|
||
name: Publish Github Release | ||
|
||
# Controls when the workflow will run | ||
on: | ||
workflow_run: | ||
workflows: ["Release App"] | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish-github-release: | ||
if: github.triggering_actor == github.repository_owner | ||
name: Publish Github Release | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup fastlane | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0' | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
working-directory: chat-application/ios | ||
|
||
- name: Publish Github Release with Fastlane | ||
working-directory: chat-application/ios | ||
run: bundle exec fastlane release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.FL_GITHUB_RELEASE_API_TOKEN }} |
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
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