background-server-action icon indicating copy to clipboard operation
background-server-action copied to clipboard

Using multi line statements fails

Open AbdealiLoKo opened this issue 1 year ago • 1 comments

I was trying to do:

            - name: Run tests
              uses: BerniWittmann/background-server-action@v1
              with:
                  command: |
                      NODE_OPTIONS="--max-old-space-size=4096" \
                        ng test \
                        --no-watch --no-progress --source-map=false \
                        --browsers=ChromeHeadlessCI

But that fails as it looks like this is considered to be 4 different commands. I saw this in the github action logs:

/usr/bin/bash -c NODE_OPTIONS="--max-old-space-size=4096" \
/usr/bin/bash -c ng test \
/usr/bin/bash -c --no-watch --no-progress --source-map=false \
/usr/bin/bash -c --browsers=ChromeHeadlessCI

AbdealiLoKo avatar May 10 '23 06:05 AbdealiLoKo