Skip to content

Commit 0b406c0

Browse files
authored
Merge pull request #13 from actions/workflow-command-replacement
Update output to use new environment file method
2 parents b136eb8 + 8579a20 commit 0b406c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Hello world docker action
22

3-
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.
3+
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.
44

55
## Inputs
66

@@ -17,7 +17,7 @@ The time we greeted you.
1717
## Example usage
1818

1919
```yaml
20-
uses: actions/hello-world-docker-action@master
20+
uses: actions/hello-world-docker-action@main
2121
with:
2222
who-to-greet: 'Mona the Octocat'
2323
```

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

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

0 commit comments

Comments
 (0)