Skip to content

Commit

Permalink
android deploy action update (release 27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexqwesa committed Aug 5, 2023
1 parent 89b8f8a commit 2014cef
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/deploy1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
with:
ruby-version: 2.7.2
bundler-cache: true
# working-directory: android

# - name: Run tests
# run: bundle exec fastlane android test
Expand Down Expand Up @@ -82,19 +81,19 @@ jobs:
flutter build appbundle
- name: Define version code with offset
env:
RUN_NUMBER: ${{ github.run_number }}
INITIAL_VERSION_CODE: 27
run: |
VERSION_CODE=$((INITIAL_VERSION_CODE + RUN_NUMBER))
echo "version_code=$VERSION_CODE" >> $GITHUB_ENV
- name: Update version code
uses: chkfung/[email protected]
with:
gradlePath: android/app/build.gradle
versionCode: ${{ env.version_code }}
# - name: Define version code with offset
# env:
# RUN_NUMBER: ${{ github.run_number }}
# INITIAL_VERSION_CODE: 27
# run: |
# VERSION_CODE=$((INITIAL_VERSION_CODE + RUN_NUMBER))
# echo "version_code=$VERSION_CODE" >> $GITHUB_ENV
#
# - name: Update version code
# uses: chkfung/[email protected]
# with:
# gradlePath: android/app/build.gradle
# versionCode: ${{ env.version_code }}

- name: Build & deploy Android release
run: |
Expand Down

0 comments on commit 2014cef

Please sign in to comment.