Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damienaicheh/update-android-version-gradle-action
https://github.com/damienaicheh/update-android-version-gradle-action
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/damienaicheh/update-android-version-gradle-action
- Owner: damienaicheh
- License: mit
- Created: 2021-05-14T20:23:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-14T20:33:20.000Z (over 3 years ago)
- Last Synced: 2024-04-18T10:19:04.487Z (9 months ago)
- Language: TypeScript
- Size: 21.5 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Update Android version Gradle action
This action update the `versionCode` and `versionName` properties of the build.gradle file for your Android projects.
## Inputs
### `build-gradle-path`
**Required** The relative path for the build.gradle file.
### `version-code`
**Required** The value of the version code, this must be between 0 and 2100000000.### `version-name`
**Required** The value of the version name### `print-file`
Output the build.gradle file in console before and after update.
## Usage
```yaml
- name: Update gradle version for Android
uses: damienaicheh/[email protected]
with:
build-gradle-path: './path_to_your/build.gradle'
version-code: 2
version-name: '2.0'
print-file: true
```