Update README.md
This commit is contained in:
@@ -87,8 +87,7 @@ need to perform some initial setup steps before you can test your action.
|
|||||||
Or you can pass a file with environment variables using `--env-file`.
|
Or you can pass a file with environment variables using `--env-file`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cat ./.env.test
|
$ echo "INPUT_WHO_TO_GREET=\"Mona Lisa Octocat\"" > ./.env.test
|
||||||
INPUT_WHO_TO_GREET="Mona Lisa Octocat"
|
|
||||||
|
|
||||||
$ docker run --env-file ./.env.test actions/hello-world-docker-action
|
$ docker run --env-file ./.env.test actions/hello-world-docker-action
|
||||||
::notice file=entrypoint.sh,line=7::Hello, Mona Lisa Octocat!
|
::notice file=entrypoint.sh,line=7::Hello, Mona Lisa Octocat!
|
||||||
|
|||||||
Reference in New Issue
Block a user