From a76e01faec63f33ebb01c1fc2c42467072bfcdf8 Mon Sep 17 00:00:00 2001 From: misakajimmy Date: Fri, 17 Feb 2023 21:10:04 +0800 Subject: [PATCH] CI UPDATE:Update prod-build.yml --- .github/workflows/prod-build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/prod-build.yml b/.github/workflows/prod-build.yml index 6dfead3..1a0268d 100644 --- a/.github/workflows/prod-build.yml +++ b/.github/workflows/prod-build.yml @@ -36,8 +36,8 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - + - uses: actions/checkout@v3 + - name: Get tag if: startsWith(github.ref, 'refs/tags/') id: tag @@ -46,8 +46,9 @@ jobs: if: startsWith(github.ref, 'refs/tags/') run: | echo "IMAGE_TAG=${{steps.tag.outputs.tag}}" >> $GITHUB_ENV + echo "$MY_JKS_FILE" | base64 --decode > android/upload-keystore.jks echo $GITHUB_ENV - + - uses: actions/setup-java@v3 with: distribution: "zulu" @@ -89,7 +90,7 @@ jobs: account_key: ${{ env.ACCOUNT_KEY }} share_name: ${{ env.SHARE_NAME }} source_dir: ${{ env.SOURCE_DIR }} - + - name: rename apk @@ -103,7 +104,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: upload-ready-prod/EOEFANS-${{ env.IMAGE_TAG }}.apk - + - name: upload to azure file for prod environment if: startsWith(github.ref, 'refs/tags/') uses: cahaseler/azure-fileshare-upload@v1.0.0