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 # 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 ## Inputs
@@ -17,7 +17,7 @@ The time we greeted you.
## Example usage ## Example usage
```yaml ```yaml
uses: actions/hello-world-docker-action@master uses: actions/hello-world-docker-action@main
with: with:
who-to-greet: 'Mona the Octocat' who-to-greet: 'Mona the Octocat'
``` ```
+1 -1
View File
@@ -2,4 +2,4 @@
echo "Hello $1" echo "Hello $1"
time=$(date) time=$(date)
echo ::set-output name=time::$time echo "time=$time" >> $GITHUB_OUTPUT