Thursday, November 4, 2021

Simple github action to echo a strong and run some multiline command, trigger when there is a push.

 


name: Shell commands
on: [push]
jobs:
  run-shell-command:
    runs-on: ubuntu-latest
    steps:
      - name: echo a
        string
         run: echo "hello world"
      - name: multiline
        script
          run: |
            node -v
            npm -v


No comments:

Post a Comment