summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/actions/docker-local/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/runner/testdata/actions/docker-local/entrypoint.sh')
-rwxr-xr-xpkg/runner/testdata/actions/docker-local/entrypoint.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/runner/testdata/actions/docker-local/entrypoint.sh b/pkg/runner/testdata/actions/docker-local/entrypoint.sh
new file mode 100755
index 0000000..43ca2dd
--- /dev/null
+++ b/pkg/runner/testdata/actions/docker-local/entrypoint.sh
@@ -0,0 +1,8 @@
+#!/bin/sh -l
+
+echo "Hello $1"
+time=$(date)
+echo ::set-output name=time::$time
+echo ::set-output name=whoami::$WHOAMI
+
+echo "SOMEVAR=$1" >>$GITHUB_ENV