Skip to content

Commit

Permalink
Merge pull request #13 from actions/workflow-command-replacement
Browse files Browse the repository at this point in the history
Update output to use new environment file method
  • Loading branch information
lucascosti authored Oct 17, 2022
2 parents b136eb8 + 8579a20 commit 0b406c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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'
```
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

echo "Hello $1"
time=$(date)
echo ::set-output name=time::$time
echo "time=$time" >> $GITHUB_OUTPUT

0 comments on commit 0b406c0

Please sign in to comment.