Merge pull request #13 from actions/workflow-command-replacement

Update output to use new environment file method
This commit is contained in:
Lucas Costi
2022-10-17 10:57:12 +10:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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'
```
+1 -1
View File
@@ -2,4 +2,4 @@
echo "Hello $1"
time=$(date)
echo ::set-output name=time::$time
echo "time=$time" >> $GITHUB_OUTPUT