commit 66b37da935f02fe0b74873a86c1e273298d93786 Author: David FILLON Date: Wed Nov 22 08:43:04 2023 +0100 Initial commot diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a9cf00c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM alpine:3.14 +COPY entrypoint.sh /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..79830ca --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Checkout action + +This action checkout project's code. + +## Inputs + +None + +## Outputs + +None + +## Example usage + +``` +uses: actions/checkout-action@v1 +``` diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..8308375 --- /dev/null +++ b/action.yml @@ -0,0 +1,5 @@ +name: 'Checkout' +description: 'Checkout code.' +runs: + using: 'docker' + image: 'Dockerfile' \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100755 index 0000000..05f0a6a --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh -l +env +pwd \ No newline at end of file