Skip to content

with-post-step: Only first cmd line read by windows #66

@IanButterworth

Description

@IanButterworth

While other platforms read multiple lines, Windows appears to only execute the first line entered

    - uses: pyTooling/Actions/with-post-step@v0.4.6
      with:
        main: |
          echo "main 1"
          echo "main 2"
        post: |
          echo "post 1"
          echo "post 2"
      env:
        GH_TOKEN: ${{ github.token }}

On Windows, only echo "main 1" and echo "post 1" will be executed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions