Skip to content

Commit

Permalink
Added a new bash script and edited the Github action to run it
Browse files Browse the repository at this point in the history
  • Loading branch information
julioolvera1 committed Nov 17, 2023
1 parent 49f5f78 commit 5ffff3d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,11 @@ jobs:
echo Add other actions to build,
echo test, and deploy your project.
# Run a single command
- name: List current directory contents
run: ls -al

# Runs a script using the runners shell
- name: Run a bash script
run: script.sh

6 changes: 6 additions & 0 deletions script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
echo "I am being run from a script"
touch fileA.txt fileB.txt fileC.txt
echo "Created fileA.txt fileB.txt fileC.txt"
echo "Listing current directory contents"
ls -al

0 comments on commit 5ffff3d

Please sign in to comment.