Skip to content

Merge pull request #33 from rulanugrh/main #71

Merge pull request #33 from rulanugrh/main

Merge pull request #33 from rulanugrh/main #71

Workflow file for this run

name: github action shell

Check failure on line 1 in .github/workflows/testing_shell.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/testing_shell.yml

Invalid workflow file

`pull` is not a valid event name
on: [pull]
jobs:
test-shell-scripting:
runs-on: ubuntu-latest
steps:
- name: cek kode repositori
uses: actions/checkout@v2
- run: echo "selamat datang di bellshade shell scripting"
- run: echo "jalan pada ${{ runner.os }}"
- name: list dari direktori shell scripting
run: |
d=$(date + "%Y-%m-%d")
file="/tmp/test.txt.$$" && touch --date "$d" "$file"
echo $file && find . -iname "*.sh" -type f -newer $file > output.txt
for i in $(cat output.txt); do chmod +x $i && sh $i; done
- run: echo "status ${{ job.status }}"