-
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
78d43c6
commit 4554fd8
Showing
1 changed file
with
27 additions
and
2 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 |
---|---|---|
@@ -1,2 +1,27 @@ | ||
# android-config-editor-action | ||
A GitHub action that let's you edit the configuration of an Android application | ||
<h1 align='center'>Android config editor <g-emoji class='g-emoji' alias='point_right' fallback-src='https://github.githubassets.com/images/icons/emoji/unicode/1f449.png'>👉</g-emoji> Make your Android deployments a bit faster!</h1> | ||
|
||
## :fire: Integrate with GitHub actions | ||
You can integrate with a GitHub action workflow using the 'android-config-editor' GitHub action: | ||
``` | ||
deployment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setting up the environment | ||
run: npm install | ||
- name: Update Android config file | ||
uses: android-config-editor | ||
with: | ||
gradlePath: app/build.bundle | ||
versionCode: 22 | ||
``` | ||
|
||
| Parameters | Explanation | | ||
|-------------------- |--------------------------------------------------------------------------| | ||
| gradlePath | The path to the Gradle file we want to adjust. Default: app/build.gradle | | ||
| applicationId | The new application ID | | ||
| versionCode | The new version code | | ||
| versionName | The new version name | | ||
| minSdkVersion | The new min SDK version | | ||
| targetSdkVersion | The new target SDK version | | ||
| debug | If to print debug logs. Default: false | |