1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Add in more copy options to make it easier for the user

This commit is contained in:
Rob Bos
2022-03-09 09:25:56 +01:00
committed by GitHub
parent 5b97d78780
commit 0c41da353d

View File

@@ -141,7 +141,7 @@ In your `hello-world-javascript-action` directory, create a `README.md` file tha
- Environment variables the action uses.
- An example of how to use your action in a workflow.
```markdown
```markdown{:copy}
# Hello world javascript action
This action prints "Hello World" or "Hello" + the name of a person to greet to the log.
@@ -198,7 +198,7 @@ Checking in your `node_modules` directory can cause problems. As an alternative,
`rm -rf node_modules/*`
1. From your terminal, commit the updates to your `action.yml`, `dist/index.js`, and `node_modules` files.
```shell
```shell{:copy}
git add action.yml dist/index.js node_modules/*
git commit -m "Use vercel/ncc"
git tag -a -m "My first action release" v1.1