Skip to content

Commit

Permalink
Fix demo app build on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DaSpood committed Jul 30, 2024
1 parent 2f8ffb0 commit 6edefdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
with:
java-version: '17'
distribution: 'zulu'
- name: Restore json key
run: echo "${{ secrets.GOOGLE_API_PUB_JSON_BASE64 }}" | base64 --decode > ${{ github.workspace }}/service-account.json
- name: Restore keystore
run: echo "${{ secrets.GOOGLE_KEYSTORE_BASE64 }}" | base64 --decode > ${{ github.workspace }}/demoscannerapp/debug.keystore
- name: Gradle cache
uses: gradle/actions/setup-gradle@v3
- name: Setup Ruby
Expand All @@ -42,12 +46,6 @@ jobs:
LIB_VERSION: ${{ steps.get_version.outputs.VERSION }}
GH_DRIVER_REPOSITORY_USERNAME: ${{ secrets.GH_DRIVER_REPOSITORY_USERNAME }}
GH_DRIVER_REPOSITORY_TOKEN: ${{ secrets.GH_DRIVER_REPOSITORY_TOKEN }}
# - name: Rename the AAR file for GitHub release upload
# run: mv enioka_scan/build/outputs/aar/enioka_scan-release.aar enioka_scan/build/outputs/aar/enioka_scan-${{ steps.get_version.outputs.VERSION }}.aar
- name: Restore json key
run: echo "${{ secrets.GOOGLE_API_PUB_JSON_BASE64 }}" | base64 --decode > ${{ github.workspace }}/service-account.json
- name: Restore keystore
run: echo "${{ secrets.GOOGLE_KEYSTORE_BASE64 }}" | base64 --decode > ${{ github.workspace }}/demoscannerapp/debug.keystore
- name: Fastlane build and upload
run: bundle exec fastlane internal
env:
Expand Down
2 changes: 1 addition & 1 deletion demoscannerapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ android {
compileSdk 34
defaultConfig {
applicationId "com.enioka.scanner.demoscannerapp"
minSdkVersion 19
minSdkVersion 21
targetSdkVersion 34
versionCode 7
versionName "3.0.0"
Expand Down

0 comments on commit 6edefdf

Please sign in to comment.