fix: update fastlane actions calls (#1)

This commit is contained in:
Malo Léon 2023-04-24 15:32:31 +02:00
parent 3ba6468acd
commit df8a15dfa4

View File

@ -10,13 +10,13 @@ module Fastlane
Helper::AndroidCdHelper.decrypt_android_keys('.') Helper::AndroidCdHelper.decrypt_android_keys('.')
# Clean the project before building # Clean the project before building
gradle(task: "clean") Fastlane::Actions.gradle(task: "clean")
# Set the build number based on the number of commits # Set the build number based on the number of commits
build_number = number_of_commits() build_number = Fastlane::Actions.number_of_commits()
# Build the Android App Bundle # Build the Android App Bundle
gradle( Fastlane::Actions.gradle(
task: "bundle", task: "bundle",
build_type: "Release", build_type: "Release",
print_command: true, print_command: true,
@ -26,7 +26,7 @@ module Fastlane
) )
# Upload the Android App Bundle to the Play Store # Upload the Android App Bundle to the Play Store
upload_to_play_store( Fastlane::Actions.upload_to_play_store(
track: 'internal', track: 'internal',
json_key: './service_account_key.json', json_key: './service_account_key.json',
aab: '../build/app/outputs/bundle/release/app-release.aab', aab: '../build/app/outputs/bundle/release/app-release.aab',