Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path '.' duplicate last dir #31

Open
gcb opened this issue Jul 4, 2024 · 3 comments
Open

path '.' duplicate last dir #31

gcb opened this issue Jul 4, 2024 · 3 comments

Comments

@gcb
Copy link

gcb commented Jul 4, 2024

using project_path: . when gradlew is on the repo root will fail the build with

Couldn't find gradlew at path '/home/runner/work/repo_name/repo_name/gradlew'

# minimum reproducible case using job from README
jobs:
  maybe-build-android:
    runs-on: ubuntu-latest
    steps:
      - uses: sparkfabrik/android-build-action@v1.5.0
        with:
          project-path: .
          output-path: my-app.apk
          browserstack-upload: false
          ruby-version: "2.7.5"
          bundler-version: "2.3.26"
          fastlane-env: "debug"
@gcb

This comment was marked as outdated.

@gcb
Copy link
Author

gcb commented Jul 4, 2024

Also tried project_path: ./ same error.

With project_path: ../ error actually shows the correct place for gradlew

[!] Couldn't find gradlew at path '/home/runner/work/repo_name/gradlew'

@gcb
Copy link
Author

gcb commented Jul 4, 2024

seeing https://github.com/fastlane/fastlane/blob/HEAD/fastlane/lib/fastlane/setup/setup.rb#L61

i tried to fake a directory there with

project-path: ../../repo_name but it ends up the same as ../

[!] Couldn't find gradlew at path '/home/runner/work/repo_name/gradlew'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant