diff --git a/workflows/list-files-and-path.yml b/workflows/list-files-and-path.yml new file mode 100644 index 0000000..ee138c8 --- /dev/null +++ b/workflows/list-files-and-path.yml @@ -0,0 +1,23 @@ +name: Echo Current Path and List Files + +on: + push: + branches: + - main # Or your desired branch + +jobs: + echo-path: + runs-on: ubuntu-latest + steps: + - uses: https://git.phyllo.me/actions/checkout@v4 + with: + fetch-depth: 0 + steps: + - name: Echo Current Path + run: | + pwd + echo "Current working directory:" + - name: List Files + run: | + ls -la + echo "Files in current directory:"