Skip to content

Commit

Permalink
fastlane added
Browse files Browse the repository at this point in the history
  • Loading branch information
ChathuraHettiarachchi committed Mar 26, 2024
1 parent 28fb65e commit 4629517
Show file tree
Hide file tree
Showing 430 changed files with 353 additions and 81,549 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/build-upload-android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Android Build & Deploy

on:
push:
branches:
- develop

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up ruby env
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
bundler-cache: true

- name: Run tests
run: bundle exec fastlane android test

- name: Decode Service Account Key JSON File
uses: timheuer/base64-to-file@v1
id: service_account_json_file
with:
fileName: "serviceAccount.json"
encodedString: ${{ secrets.GPLAY_SERVICE_ACCOUNT_KEY_JSON }}

- name: Decode Keystore File
uses: timheuer/base64-to-file@v1
id: android_keystore
with:
fileName: "android_keystore.keystore"
encodedString: ${{ secrets.KEYSTORE_FILE }}

- name: Build & deploy Android release
run: bundle exec fastlane android deploy
env:
KEYSTORE_FILE: ${{ steps.android_keystore.outputs.filePath }}
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS}}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
ANDROID_JSON_KEY_FILE: ${{ steps.service_account_json_file.outputs.filePath }}

- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: assets
path: |
${{ github.workspace }}/app/build/outputs/bundle/release
Binary file modified .gradle/7.2/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/7.2/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified .gradle/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/checksums/sha1-checksums.bin
Binary file not shown.

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/Gradle__androidx_arch_core_core_common_2_1_0.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/libraries/Gradle__androidx_compose_ui_ui_test_1_0_1_aar.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/libraries/Gradle__androidx_core_core_ktx_1_7_0_aar.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/libraries/Gradle__androidx_loader_loader_1_0_0_aar.xml

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/libraries/Gradle__androidx_test_core_1_4_0_aar.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4629517

Please sign in to comment.