The Elasticsearch action is conditionally called in a workflow, but even when it's not run, the container build step still runs. Here's an example for such a build:

The Elasticsearch action is referenced in the action.yml file found in this pull request, which is conditionally called in the build-and-test-orchard-core.yml file.
Is this normal behavior, or can it be prevented somehow? The container build step shouldn't run when the Elasticsearch setup step doesn't.
The Elasticsearch action is conditionally called in a workflow, but even when it's not run, the container build step still runs. Here's an example for such a build:

The Elasticsearch action is referenced in the action.yml file found in this pull request, which is conditionally called in the build-and-test-orchard-core.yml file.
Is this normal behavior, or can it be prevented somehow? The container build step shouldn't run when the Elasticsearch setup step doesn't.