You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,8 @@ See the [toolkit documentation](https://github.com/actions/toolkit/blob/master/R
66
66
67
67
## Package for distribution
68
68
69
+
GitHub Actions will run the entry point from the action.yml. Packaging assembles the code into one file that can be checked in to Git, enabling fast and reliable execution and preventing the need to check in node_modules.
70
+
69
71
Actions are run from GitHub repos. Packaging the action will create a packaged action in the dist folder.
70
72
71
73
Run package
@@ -74,7 +76,7 @@ Run package
74
76
npm run package
75
77
```
76
78
77
-
Since the packaged index.js is run from the dist folder, check it in.
79
+
Since the packaged index.js is run from the dist folder.
78
80
79
81
```bash
80
82
git add dist
@@ -84,13 +86,15 @@ git add dist
84
86
85
87
Users shouldn't consume the action from master since that would be latest code and actions can break compatibility between major versions.
0 commit comments