Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```