Skip to content

Commit

Permalink
test ver
Browse files Browse the repository at this point in the history
  • Loading branch information
shocknet-justin committed Sep 13, 2024
1 parent 19c7176 commit 9bd3d32
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if [[ ${{ github.event_name }} == 'release' ]]; then
echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
else
echo "VERSION=test" >> $GITHUB_ENV
echo "VERSION=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
fi
echo "VERSION_CODE=$(git rev-list --count HEAD)" >> $GITHUB_ENV
Expand All @@ -56,7 +56,10 @@ jobs:
VERSION=${{ env.VERSION }} VERSION_CODE=${{ env.VERSION_CODE }} npm run prebuild
- name: Build Android app
run: ionic cap build android --no-interactive
run: |
source .env
ionic cap sync android
ionic cap build android --no-interactive --prod
- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down

0 comments on commit 9bd3d32

Please sign in to comment.