Skip to content

Platform must be defined twice in GitHub Action #69

@appfr3d

Description

@appfr3d

Description

When using the GitHub Actions from this repo, we currently have to define the platform twice:

Once when choosing the action to run:
Android Action: callstackincubator/react-native-harness/actions/android
iOS Action: callstackincubator/react-native-harness/actions/ios

And then again once when setting the required runner input to the action: ios or android.

This opens up for configuring the actions with erroneous states:
callstackincubator/react-native-harness/actions/android with runner: ios
callstackincubator/react-native-harness/actions/ios with runner: android

Suggested solution

Should either remove the runner input (easiest option), and set the correct runner inside the action itself.

Or change to only expose one single action that selects the plattform using the runner input.

Additional context

No response

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