You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Version code generator
v1.0.0
This action generates a version code based on the commit count of your current branch
Required The to be increased on decreased for the final version code. Default "0"
.
The version code generated.
name: Version code generator
When using action checkout please specify the input parameter fetch-depth: 0 in order to retrieve all commits
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: Generate new version code
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get version code
id: version_code
uses: lucasfe/android_version_bump@3.9.3
with:
offset: '-3'