From 778deccca4e5d6d5b1aefa3aa23ec595fdd153bd Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Fri, 14 Oct 2022 14:06:01 +1000 Subject: [PATCH 1/2] Update output to use new environment file method --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index e4cfd97..3fee027 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,4 +2,4 @@ echo "Hello $1" time=$(date) -echo ::set-output name=time::$time +echo "time=$time" >> $GITHUB_OUTPUT From 8579a20b8f3507e494fc61e94bdb36106eef22a6 Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Fri, 14 Oct 2022 14:13:12 +1000 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01cba30..70f4ce9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Hello world docker action -This action prints "Hello World" to the log or "Hello" + the name of a person to greet. To learn how this action was built, see "[Creating a Docker container action](https://help.github.com/en/articles/creating-a-docker-container-action)" in the GitHub Help documentation. +This action prints "Hello World" to the log or "Hello" + the name of a person to greet. To learn how this action was built, see "[Creating a Docker container action](https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action)" in the GitHub Docs. ## Inputs @@ -17,7 +17,7 @@ The time we greeted you. ## Example usage ```yaml -uses: actions/hello-world-docker-action@master +uses: actions/hello-world-docker-action@main with: who-to-greet: 'Mona the Octocat' ```