Skip to content

Commit

Permalink
remove appfile
Browse files Browse the repository at this point in the history
  • Loading branch information
git-elliot committed Mar 30, 2024
1 parent 2f57ace commit a886df0
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 38 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/flutter_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,35 @@ jobs:
- name: Install dependencies
run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev

- name: Build Android App Bundle
run: flutter build appbundle --flavor store

- name: 'Setup Ruby, JRuby and TruffleRuby'
uses: ruby/setup-ruby@v1.115.0
with:
ruby-version: 3.1.2

- name: Cache bundle dependencies
uses: actions/cache@v2
with:
path: android/vendor/bundle
key: '${{ runner.os }}-gems-${{ hashFiles(''**/Gemfile.lock'') }}'
restore-keys: '${{ runner.os }}-gems-'

- name: Download bundle dependencies
working-directory: android/
run: |
gem install bundler:2.3.20
bundle config path vendor/bundle
bundle install
- name: Release to Google Play
env:
SUPPLY_PACKAGE_NAME: '${{ secrets.ANDROID_PACKAGE_NAME }}'
SUPPLY_JSON_KEY_DATA: '${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}'
working-directory: android/
run: bundle exec fastlane android deploy

- name: Build Android App and Linux Bundle
# Use signing keys for release instead of debug
run: |
Expand Down Expand Up @@ -103,35 +132,6 @@ jobs:
with:
files: ${{ vars.LINUX_BUILD_PATH }}/${{ env.LINUX_ZIP }}

- name: Build Android App Bundle
run: flutter build appbundle --flavor store

- name: 'Setup Ruby, JRuby and TruffleRuby'
uses: ruby/setup-ruby@v1.115.0
with:
ruby-version: 3.1.2

- name: Cache bundle dependencies
uses: actions/cache@v2
with:
path: android/vendor/bundle
key: '${{ runner.os }}-gems-${{ hashFiles(''**/Gemfile.lock'') }}'
restore-keys: '${{ runner.os }}-gems-'

- name: Download bundle dependencies
working-directory: android/
run: |
gem install bundler:2.3.20
bundle config path vendor/bundle
bundle install
- name: Release to Google Play
env:
SUPPLY_PACKAGE_NAME: '${{ secrets.ANDROID_PACKAGE_NAME }}'
SUPPLY_JSON_KEY_DATA: '${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}'
working-directory: android/
run: bundle exec fastlane android deploy

release-macos:
runs-on: macos-latest
env:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,5 @@ android/app/release

# gem files
android/.bundle
android/vendor
android/vendor
android/fastlane/Appfile
2 changes: 0 additions & 2 deletions android/fastlane/Appfile

This file was deleted.

7 changes: 1 addition & 6 deletions android/fastlane/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@



<testcase classname="fastlane.lanes" name="0: default_platform" time="0.00024">

</testcase>


<testcase classname="fastlane.lanes" name="1: upload_to_play_store" time="82.184252">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000351">

</testcase>

Expand Down

0 comments on commit a886df0

Please sign in to comment.