Update release_build.yml
This commit is contained in:
parent
cd8d638aa6
commit
dcf4e43e32
2
.github/workflows/release_build.yml
vendored
2
.github/workflows/release_build.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
|||||||
- name: Extract Version Code
|
- name: Extract Version Code
|
||||||
id: extract_version
|
id: extract_version
|
||||||
run: |
|
run: |
|
||||||
VERSION_CODE=$(grep -oP '(?<=versionCode=)\d+' app/build.gradle) # Adjust path to your build.gradle
|
VERSION_CODE=$(grep -oP '(?<=versionCode=)\d+' app/build.gradle.kts) # Adjust path to your build.gradle
|
||||||
echo "::set-output name=version_code::$VERSION_CODE"
|
echo "::set-output name=version_code::$VERSION_CODE"
|
||||||
echo "Version Code: $VERSION_CODE"
|
echo "Version Code: $VERSION_CODE"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user