Skip to content

DOC: bug in windows line doc/examples/github-actions.yml #117

Open
@aburrell

Description

@aburrell

What was wrong?

Following this example will result in the Windows reports failing

Run curl -sL https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-windows.zip | zcat > ./coveralls.exe
InvalidOperation: D:\a\_temp\3862d081-6a06-42ea-a5e2-99028ad6949b.ps1:2
Line |
   2 |  … leases/latest/download/coveralls-windows.zip | zcat > ./coveralls.exe
     |                                                   ~~~~~~~~~~~~~~~~~~~~~~
     | Cannot run a document in the middle of a pipeline: C:\Program Files\Git\usr\bin\zcat.
Error: Process completed with exit code 1.

Potential fix

Using the bash command on the README works. Recommend updating the example yaml to include the line from the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions