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('.')
# Clean the project before building
gradle(task: "clean")
Fastlane::Actions.gradle(task: "clean")
# 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
gradle(
Fastlane::Actions.gradle(
task: "bundle",
build_type: "Release",
print_command: true,
@ -26,7 +26,7 @@ module Fastlane
)
# Upload the Android App Bundle to the Play Store
upload_to_play_store(
Fastlane::Actions.upload_to_play_store(
track: 'internal',
json_key: './service_account_key.json',
aab: '../build/app/outputs/bundle/release/app-release.aab',