chore: update docs for updating action v1

This commit is contained in:
Han Qiao
2024-01-29 00:12:30 +08:00
committed by GitHub
parent 52e2c94f46
commit b7e5a9d3ac

View File

@@ -114,17 +114,8 @@ $ npm test
Actions are run from GitHub repos so we will checkin the packed dist folder.
Then run [ncc](https://github.com/zeit/ncc) and push the results:
```bash
$ npm run all
$ git add dist
$ git commit -a -m "Update dependencies"
$ git tag -f v1
$ git push -f --tags
```
Note: We recommend using the `--license` option for ncc, which will create a license file for all of the production node modules used in your project.
1. Create a new GitHub release
2. Rebase `v1` branch on `main`
Your action is now published! :rocket: