cypress-io / cypress-io/github-action

Can't execute multiline commands

Open
#272 2 comments 4 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
JavaScript
Stars
1.5k
Forks
353
Avg merge
1d 22h
Merged PRs (30d)
27

Description

With GitHub actions, one can execute multiple commands with this multiline syntax:

```yml
run: |
command1 --option1
command2 --option2
```

Such behavior, however, doesn't seem to be respected by Cypress GH action. For instance, if I have this setup:

```yml
- uses: cypress-io/github-action@v2
with:
build: |
command1 --option1
command2 --option2
```

The actual command executed will be a combined, invalid, `command1 --option1 command2 --option2`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.