From 7dd7095eb63bff639fe18e909c70c31f3c710899 Mon Sep 17 00:00:00 2001 From: Daniel Yrovas Date: Thu, 15 Feb 2024 21:52:47 +1100 Subject: [PATCH] add android zipalign to pipeline --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63c153d..c377046 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - run: | + APP_VERSION=$(grep 'app-versionName' gradle/libs.versions.toml | sed 's/.*= "\(.*\)"/\1/') + echo "RELEASE_VERSION=$APP_VERSION" >> $GITHUB_ENV - name: Set up JDK env uses: actions/setup-java@v4 with: @@ -19,9 +21,6 @@ jobs: java-version: 19 cache: 'gradle' - # - name: Setup Android SDK - # uses: android-actions/setup-android@v3 - - name: Execute Gradle build run: ./gradlew --no-daemon --build-cache assembleRelease