Skip to content

Commit 6ad8027

Browse files
authored
Use single action entrypoint (#128)
Use the same bundled action entrypoint for both the main and post phases.
1 parent f8c977a commit 6ad8027

9 files changed

Lines changed: 701 additions & 61773 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ Bundle the action `dist/` entrypoints for GitHub Actions:
2525
npm run bundle
2626
```
2727

28-
That command produces:
29-
30-
- `dist/index.cjs` for the main action
31-
- `dist/post/index.cjs` for the post-step cache save
28+
That command produces `dist/index.cjs`, which is used for both the main action and
29+
the post-step cache save.
3230

3331
The generated `dist/` files must be committed, because GitHub Actions consumers run the checked-in `dist/` output directly.
3432

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ outputs:
4242
runs:
4343
using: node24
4444
main: dist/index.cjs
45-
post: dist/post/index.cjs
45+
post: dist/index.cjs
4646
branding:
4747
icon: git-commit
4848
color: orange

0 commit comments

Comments
 (0)