From 6d0f2da52b557a3e944e652fbd7f31784a389587 Mon Sep 17 00:00:00 2001 From: Lukas Greve Date: Fri, 25 Jul 2025 22:48:23 +0200 Subject: [PATCH] add some commands in simple checkout workflow --- workflows/list-files-and-path.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 workflows/list-files-and-path.yml 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:"