mirror of
https://github.com/wismna/DoNext.git
synced 2025-12-06 00:02:40 -05:00
Fix pipeline
This commit is contained in:
2
.github/workflows/android.yaml
vendored
2
.github/workflows/android.yaml
vendored
@@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
- name: Run Fastlane
|
||||
env:
|
||||
MODULE: ${{ github.event.inputs.module }}
|
||||
MODULE: ${{ env.MODULE }}
|
||||
SUPPLY_JSON_KEY: service-account.json
|
||||
KEYSTORE_FILE: upload.jks
|
||||
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
||||
|
||||
@@ -3,7 +3,7 @@ default_platform(:android)
|
||||
platform :android do
|
||||
desc "Build, test, and deploy to Google Play"
|
||||
lane :internal do
|
||||
module_name = ENV["MODULE"] || "donextv2"
|
||||
module_name = ENV["MODULE"]
|
||||
# Read local versionCode
|
||||
gradle_file = File.read("#{module_name}/build.gradle.kts")
|
||||
gradle_version = gradle_file[/versionCode\s*=\s*(\d+)/, 1].to_i
|
||||
|
||||
Reference in New Issue
Block a user