Skip to content

added script

added script #7

Workflow file for this run

name: First Workflow
on: push
jobs:
first_job:
runs-on: ubuntu-latest
steps:
- name: Welcome message
run: echo 'My First Github Actions Job'
- name: Checkout Repo
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}
- name: Read Readme
run: cat README.md
- name: List Files
run: ls
- name: Print envs
run: printenv
- name: Perform multiple actions
run: |
echo 'Running multiple commands'
ls -a
- name: Installing cowsay
run: sudo apt install cowsay -y
- name: Execute cowsay
run: |
cowsay -f dragon "Hello Yatharth!!" >> drag.txt
cat drag.txt
- name: Execute shell script
run: ./cowsay-script.sh