Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
IanButterworth opened this issue Nov 19, 2023 · 1 comment
Open

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

IanButterworth opened this issue Nov 19, 2023 · 1 comment
Labels
With-post-step Action 'with-post-step'

Comments

@IanButterworth
Copy link

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

@Paebbels
Copy link
Member

I'm open to accept pull requests.

Please also see #82.

@Paebbels Paebbels added the With-post-step Action 'with-post-step' label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
With-post-step Action 'with-post-step'
Projects
None yet
Development

No branches or pull requests

2 participants