-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: streamline workflow & fastlane around deployment
Optimize action execution time by consolidating testing and deployment upon tag push events
- Loading branch information
Showing
6 changed files
with
113 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 |
---|---|---|
|
@@ -14,21 +14,11 @@ jobs: | |
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'adopt' | ||
distribution: 'zulu' | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.2.3' | ||
bundler-cache: true | ||
- name: Fetch tags | ||
run: git fetch --tags --force | ||
- name: Wait for tests to succeed | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: ${{ github.ref }} | ||
running-workflow-name: android-build | ||
check-name: android-unit-test-release | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
wait-interval: 10 | ||
- name: Build release APKs | ||
run: bash .github/scripts/fastlane.sh | ||
env: | ||
|
@@ -58,3 +48,8 @@ jobs: | |
gh release upload "${{ github.ref_name }}" $files | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Publish Test Report | ||
uses: mikepenz/action-junit-report@v5 | ||
if: always() # always run even if the previous step fails | ||
with: | ||
report_paths: '**/build/test-results/**/TEST-*.xml' |
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
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,64 @@ | ||
fastlane documentation | ||
---- | ||
|
||
# Installation | ||
|
||
Make sure you have the latest version of the Xcode command line tools installed: | ||
|
||
```sh | ||
xcode-select --install | ||
``` | ||
|
||
For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) | ||
|
||
# Available Actions | ||
|
||
## Android | ||
|
||
### android verify | ||
|
||
```sh | ||
[bundle exec] fastlane android verify | ||
``` | ||
|
||
Test with gradle | ||
|
||
### android build | ||
|
||
```sh | ||
[bundle exec] fastlane android build | ||
``` | ||
|
||
Prepare release builds | ||
|
||
### android submit_beta | ||
|
||
```sh | ||
[bundle exec] fastlane android submit_beta | ||
``` | ||
|
||
Submit a new Beta Build to Google Play | ||
|
||
### android submit_prod | ||
|
||
```sh | ||
[bundle exec] fastlane android submit_prod | ||
``` | ||
|
||
Submit a new Prod Build to Google Play | ||
|
||
### android deploy | ||
|
||
```sh | ||
[bundle exec] fastlane android deploy | ||
``` | ||
|
||
Deploy builds to Google Play | ||
|
||
---- | ||
|
||
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. | ||
|
||
More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). | ||
|
||
The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). |