|
2 | 2 |
|
3 | 3 | Detect changed Tessl tiles, derive semantic version bumps from Conventional Commits, review and lint each changed tile, then publish to the Tessl registry without committing version bumps back to the consumer repo. |
4 | 4 |
|
5 | | -The action is implemented in TypeScript with the official GitHub Actions toolkit packages such as `@actions/core`, `@actions/exec`, and `@actions/github`. |
| 5 | +The action is implemented in TypeScript with the official GitHub Actions toolkit packages such as `@actions/core`, `@actions/exec`, and `@actions/github`, and is bundled with Vite+ via `vp pack`. |
6 | 6 |
|
7 | 7 | ## What It Does |
8 | 8 |
|
@@ -53,30 +53,38 @@ jobs: |
53 | 53 | token: ${{ secrets.TESSL_TOKEN }} |
54 | 54 |
|
55 | 55 | - name: Publish changed tiles |
56 | | - uses: uinaf/tessl-publish-action@v1.0.0 |
| 56 | + uses: uinaf/tessl-publish-action@v1.0.2 |
57 | 57 | with: |
58 | 58 | review-threshold: "90" |
59 | 59 | ``` |
60 | 60 |
|
61 | 61 | ## Inputs |
62 | 62 |
|
63 | | -| Name | Default | Description | |
64 | | -| --- | --- | --- | |
65 | | -| `working-directory` | `.` | Repository root to operate from | |
66 | | -| `skills-root` | `skills` | Root directory containing tile folders | |
67 | | -| `workflow-path` | `.github/workflows/publish-skills.yml` | Workflow path that should force a full publish when changed | |
68 | | -| `review-threshold` | `90` | Threshold passed to `tessl skill review --threshold` | |
69 | | -| `dry-run-max-attempts` | `50` | Max version attempts per tile before giving up | |
70 | | -| `publish-all` | `false` | Force publishing all tiles regardless of event diff | |
| 63 | +| Name | Default | Description | |
| 64 | +| ---------------------- | -------------------------------------- | ----------------------------------------------------------- | |
| 65 | +| `working-directory` | `.` | Repository root to operate from | |
| 66 | +| `skills-root` | `skills` | Root directory containing tile folders | |
| 67 | +| `workflow-path` | `.github/workflows/publish-skills.yml` | Workflow path that should force a full publish when changed | |
| 68 | +| `review-threshold` | `90` | Threshold passed to `tessl skill review --threshold` | |
| 69 | +| `dry-run-max-attempts` | `50` | Max version attempts per tile before giving up | |
| 70 | +| `publish-all` | `false` | Force publishing all tiles regardless of event diff | |
71 | 71 |
|
72 | 72 | ## Outputs |
73 | 73 |
|
74 | | -| Name | Description | |
75 | | -| --- | --- | |
76 | | -| `tiles` | JSON array of tile directories selected for this run | |
| 74 | +| Name | Description | |
| 75 | +| ---------- | --------------------------------------------------------------------------- | |
| 76 | +| `tiles` | JSON array of tile directories selected for this run | |
77 | 77 | | `versions` | JSON object of successfully published tile versions keyed by tile directory | |
78 | | -| `failures` | JSON array of per-tile failures | |
| 78 | +| `failures` | JSON array of per-tile failures | |
79 | 79 |
|
80 | 80 | ## Releasing This Action |
81 | 81 |
|
82 | | -This repo is set up for `semantic-release` on `main`, with releases created by `github-actions[bot]`. Consumer repos should pin either an explicit release tag such as `@v1.0.0` or the full commit SHA that backs that release. |
| 82 | +This repo uses Vite+ for local verification and packaging: |
| 83 | + |
| 84 | +- `vp install` |
| 85 | +- `vp check` |
| 86 | +- `vp test` |
| 87 | +- `vp pack` |
| 88 | +- `vp run release` |
| 89 | + |
| 90 | +`semantic-release` still owns tag and GitHub Release creation on `main`, with releases created by `github-actions[bot]`. Consumer repos should pin either an explicit release tag such as `@v1.0.2` or the full commit SHA that backs that release. |
0 commit comments