github-action-ssh icon indicating copy to clipboard operation
github-action-ssh copied to clipboard

Multiple commands

Open ghost opened this issue 2 years ago • 1 comments

I have checked closed issue Multiple discussing execute multiple commands by break line but seems like it doesn't work for me

- name: connect to ssh shoutout
        uses: garygrossgarten/[email protected]
        with:
          host: ${{ matrix.server }}
          username: ${{ matrix.user }}
          privateKey: ${{ secrets.KEY}}
          command: | 
            echo "Testing"
            echo "DD"
            ipconfig

it only returns "Testing"

am i doing something wrong here? help plz

ghost avatar Feb 03 '23 04:02 ghost

+1

AndreEneva avatar Aug 21 '23 18:08 AndreEneva