Skip to content

How this action be compitable with gradle/gradle-build-action #229

Closed
@Goooler

Description

@Goooler

My current config:

      - name: Prepare instrumentation
        uses: reactivecircus/android-emulator-runner@v2
        with:
          api-level: ${{ matrix.api-level }}
          force-avd-creation: false
          emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
          disable-animations: true
      - name: Instrumentation tests
        uses: gradle/gradle-build-action@v2
        with:
          arguments: connectedDebugAndroidTest

Replaced script: ./gradlew connectedDebugAndroidTest with executing connectedDebugAndroidTest by gradle/gradle-build-action, but error thrown:

Error: Input required and not supplied: script

How can I use this action with gradle/gradle-build-action?
Can reproduce this issue in Goooler/DemoApp/pull/39.

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