From 925ad9616d34590bdd47fcbf838c8ab94391db4a Mon Sep 17 00:00:00 2001 From: sadorowo Date: Wed, 20 Mar 2024 20:05:59 +0100 Subject: [PATCH] fix: github actions (attempt 4) --- .github/workflows/android.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ff38469b..4b89a088 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -35,7 +35,7 @@ jobs: - name: Get app version id: get_version - run: echo ::set-output name=version_name::$(grep -oP 'versionName "\K(.*)(?=")' ${{ env.main_project_module }}/build.gradle)) + run: echo ::set-output name=version_name::$(grep -m1 "versionName" app/build.gradle | awk '{print $2}' | tr -d \''"\') - name: Change wrapper permissions run: chmod +x ./gradlew