From 5b604cb2b229e27e3df1b758ec324aa7c31ed36e Mon Sep 17 00:00:00 2001 From: Iliyan Germanov Date: Sun, 18 Sep 2022 18:00:15 +0300 Subject: [PATCH] Try #5: apk name --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c8a321e7c..b17928d49f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,9 +38,13 @@ jobs: - name: Build Debug APK run: ./gradlew assembleDebug + - name: Set commit SHA as an output so it can be included in the APK filename + id: vars + run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" + - name: Upload Ivy Wallet APK uses: actions/upload-artifact@v2 with: - name: "Ivy-Wallet-${{ github.GITHUB_SHA }}.apk" + name: "Ivy-Wallet-${{ steps.vars.outputs.sha_short }}.apk" path: app/build/outputs/apk/debug/app-debug.apk #------------------------------------------------------------------