Skip to content

Commit

Permalink
chore: action
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Oct 17, 2024
1 parent 31cd0a4 commit 25e2670
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
secrets: inherit

release-documentscanner-ios:
uses: Akylas/app-tools/.github/workflows/release_android.yml@main
uses: Akylas/app-tools/.github/workflows/release_ios.yml@main
if: github.event.inputs.ios == 'true' && github.event.inputs.documentscanner == 'true'
with:
flavor: documentscanner
Expand All @@ -76,7 +76,7 @@ jobs:
secrets: inherit

release-cardwallet-ios:
uses: Akylas/app-tools/.github/workflows/release_android.yml@main
uses: Akylas/app-tools/.github/workflows/release_ios.yml@main
if: github.event.inputs.ios == 'true' && github.event.inputs.cardwallet == 'true'
with:
flavor: cardwallet
Expand Down
6 changes: 4 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,10 @@ lane :build_flavor do |params|
# copy dist files to dist, already done on iOS
if (platform == 'android')
puts "copy dist files to #{dist_path}"
FileUtils.mkdir dist_path
FileUtils.cp_r(Dir.glob(File.expand_path(File.join(project_root_path, app_build_path, "android/app/build/outputs/apk/release/*.apk"))),dist_path )
if (Dir.exist?(dist_path) == false)
FileUtils.mkdir dist_path
end
FileUtils.cp_r(Dir.glob(File.join(project_root_path, app_build_path, "android/app/build/outputs/apk/release/*.apk")),dist_path )
end

if (ENV["GITHUB_ACTIONS"] != 'true')
Expand Down

0 comments on commit 25e2670

Please sign in to comment.