Skip to content

Commit 00d27fb

Browse files
authored
Bump the app's version (#15)
1 parent 5445c7e commit 00d27fb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/android-ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,15 @@ jobs:
3737
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
3838
restore-keys: |
3939
${{ runner.os }}-gradle-
40-
40+
41+
# Change the version of the project
42+
- name: Bump version
43+
uses: Swisyn/android-version-generator-actions@v1.5
44+
with:
45+
gradlePath: app/build.gradle.kts
46+
versionCode: ${{github.run_number}}
47+
versionName: 0.1.${{github.run_number}}
48+
4149
# Build and run unit tests
4250
- name: Build
4351
run: ./gradlew assembleRelease --no-daemon

0 commit comments

Comments
 (0)