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

Update default value of working-directory when is defined in defaults section #422

Open
eduardoleolim opened this issue Dec 30, 2024 · 0 comments

Comments

@eduardoleolim
Copy link

eduardoleolim commented Dec 30, 2024

If I have a job with a custom working directory, I must to define the working directory in the emulator step again

jobs:
  name: 🧪 Android Testing
  runs-on: ubuntu-latest
  defaults:
    run:
      working-directory: ./app # Working directory for all steps 
  steps:
    
    ...

    - name: 🧪 Test
      uses: reactivecircus/android-emulator-runner@v2
      with:
        api-level: 35
        arch: x86_64
        target: google_apis
        emulator-port: 5554
        script: ./gradlew connectedAndroidTest
        working-directory: ./app # I have to set working directory again
@eduardoleolim eduardoleolim changed the title Update default value of working-directory when is defined in default section Update default value of working-directory when is defined in defaults section Dec 30, 2024
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