From e8376829cd6749075ec26103b6ab9da7e5297fcf Mon Sep 17 00:00:00 2001 From: Martin Bruse Date: Tue, 3 Aug 2021 16:42:08 +0200 Subject: [PATCH] More workflow. --- .github/workflows/android.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index fa61dba..b7e3b8a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -38,9 +38,9 @@ jobs: - name: Find aapt binary run: echo "AAPT_BINARY=$(ls -1 ${ANDROID_HOME}/build-tools/*/aapt | tail -n 1)" >> $GITHUB_ENV - name: Extract release name - run: echo "APK_VERSION_NAME=$(${AAPT_BINARY} dump badging app/build/outputs/apk/release/app-release.apk | sed -e "s/.*versionName='\([^']\+\)'.*/\1/")" >> $GITHUB_ENV + run: echo "APK_VERSION_NAME=$(${AAPT_BINARY} dump badging app/build/outputs/apk/release/app-release.apk | tr "\n" " " | sed -e "s/.*versionName='\([^']\+\)'.*/\1/")" >> $GITHUB_ENV - name: Extract release code - run: echo "APK_VERSION_CODE=$(${AAPT_BINARY} dump badging app/build/outputs/apk/release/app-release.apk | sed -e "s/.*versionCode='\([^']\+\)'.*/\1/")" >> $GITHUB_ENV + run: echo "APK_VERSION_CODE=$(${AAPT_BINARY} dump badging app/build/outputs/apk/release/app-release.apk | tr "\n" " " | sed -e "s/.*versionCode='\([^']\+\)'.*/\1/")" >> $GITHUB_ENV - name: Create release id: create_release uses: actions/create-release@latest