Skip to content

Commit

Permalink
CI UPDATE:Update prod-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
misakajimmy committed Feb 17, 2023
1 parent 83c1489 commit a76e01f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
account_key: ${{ env.ACCOUNT_KEY }}
share_name: ${{ env.SHARE_NAME }}
source_dir: ${{ env.SOURCE_DIR }}



- name: rename apk
Expand All @@ -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
Expand Down

0 comments on commit a76e01f

Please sign in to comment.