feat: android internal lane #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build and publish (android) | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-upload: | |
name: Build Android App and Upload | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Write Keystore | |
run: | | |
echo ${{ secrets.KEYSTORE }} | base64 --decode > android/app/upload-keystore.jks | |
echo ${{ secrets.KEYSTORE_PROPERTIES }} | base64 --decode > android/key.properties | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2.0' | |
- uses: subosito/flutter-action@v1 | |
with: | |
flutter-version: '3.13.0' | |
channel: 'stable' | |
- name: Run Fastlane | |
run: | | |
bundle install | |
bundle exec fastlane internal | |
env: | |
SUPPLY_JSON_KEY_DATA: ${{ secrets.SUPPLY_JSON_KEY_DATA }} | |
working-directory: android |