Commit ec0f11a
Migrate actions build to Go using bundler infrastructure
- Created pkg/cli/actions_build_command.go with Go-based build commands
- Implemented ActionsBuildCommand, ActionsValidateCommand, ActionsCleanCommand
- Reuses workflow bundler and script registry infrastructure from pkg/workflow
- Added CLI commands: actions-build, actions-validate, actions-clean
- Updated Makefile to use Go commands instead of Node.js script
- Removed scripts/build-actions.js JavaScript build script
- Added safe_outputs_tools.json to GetJavaScriptSources() map
- Updated actions/README.md documentation
The build system now leverages the same infrastructure as workflow compilation,
eliminating duplicate bundling logic and providing better integration.
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>1 parent 70622a7 commit ec0f11a
9 files changed
Lines changed: 363 additions & 278 deletions
File tree
- .github/workflows
- actions
- setup-safe-inputs
- setup-safe-outputs
- cmd/gh-aw
- pkg
- cli
- workflow
- scripts
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | | - | |
39 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| 49 | + | |
| 50 | + | |
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
| 54 | + | |
| 55 | + | |
49 | 56 | | |
| 57 | + | |
50 | 58 | | |
51 | 59 | | |
| 60 | + | |
| 61 | + | |
52 | 62 | | |
53 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
54 | 69 | | |
55 | 70 | | |
56 | 71 | | |
| |||
103 | 118 | | |
104 | 119 | | |
105 | 120 | | |
106 | | - | |
107 | | - | |
| 121 | + | |
| 122 | + | |
108 | 123 | | |
109 | 124 | | |
110 | 125 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
303 | 340 | | |
304 | 341 | | |
305 | 342 | | |
| |||
501 | 538 | | |
502 | 539 | | |
503 | 540 | | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
504 | 544 | | |
505 | 545 | | |
506 | 546 | | |
| |||
534 | 574 | | |
535 | 575 | | |
536 | 576 | | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
537 | 580 | | |
538 | 581 | | |
539 | 582 | | |
| |||
0 commit comments