Skip to content

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

Open
@eduardoleolim

Description

@eduardoleolim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions