github.com/nektos/act@v0.2.83/pkg/runner/testdata/docker-action-host-env/action/entrypoint.sh (about)

     1  #!/bin/bash
     2  set -e
     3  
     4  # Print a greeting
     5  echo "Hello, $1!"
     6  
     7  # Print all environment variables
     8  echo "Environment Variables:"
     9  env
    10  
    11  ls -la "$PWD"
    12  ls -la "$PWD/docker-action-host-env"
    13  
    14  if [ -f "$PWD/docker-action-host-env/Dockerfile" ]; then
    15    echo "Dockerfile exists in workspace."
    16  else
    17    echo "Dockerfile does not exist in workspace."
    18  fi