Merge pull request #13 from actions/workflow-command-replacement
Update output to use new environment file method
This commit is contained in:
@@ -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
@@ -2,4 +2,4 @@
|
||||
|
||||
echo "Hello $1"
|
||||
time=$(date)
|
||||
echo ::set-output name=time::$time
|
||||
echo "time=$time" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user