Skip to content

Commit

Permalink
fix: code for automation actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rulanugrh committed Oct 2, 2024
1 parent 5339657 commit 4372d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testing_shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run: |
d=$(date "+%Y-%m-%d")
file="/tmp/test.txt.$$" && touch --date "$d" "$file"
echo $file && find . -type d \( -path ./playground -o -path ./simple_project -o -path ./basic -o -path ./usefull_command \) -prune -o -iname "*.sh" -type f -newer $file > output.txt
echo $file && find . -type d \( -path ./playground -o -path ./simple_project -o -path ./basic -o -path ./advance/03_user_administration -o -path ./usefull_command \) -prune -o -iname "*.sh" -type f -newer $file > output.txt
for i in $(cat output.txt); do if [ -d "$i" ]; then echo "$i adalah folder."; elif [ -f "$i" ]; then chmod +x "$i" && bash "$i"; else echo "$i tidak ditemukan atau bukan file/folder."; fi; done
- run: echo "status ${{ job.status }}"

0 comments on commit 4372d73

Please sign in to comment.