Commit d3e0a35
fix: restore NPM_TOKEN auth and add --access public for scoped package publish (#7475)
* fix: explicitly dispatch CI after tag push to build release binaries
GITHUB_TOKEN pushes do not trigger new workflow runs (GitHub prevents
recursive loop triggers). This means the tag push from the release
workflow never triggered osrm-backend.yml, so no binaries were built
or uploaded to the release assets.
Changes:
- Add workflow_dispatch trigger to osrm-backend.yml
- Add 'actions: write' permission to release workflow
- After pushing the tag, explicitly dispatch osrm-backend.yml on the
tag ref; CI runs with GITHUB_REF=refs/tags/v* so PUBLISH=On and
prebuilt binaries are built and uploaded
- Restore NODE_AUTH_TOKEN and add --access public for scoped npm package
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: remove redundant NPM_TOKEN and --access public from publish step
publishConfig.access=public is already set in package.json, so --access
public is redundant. OIDC via setup-node handles authentication when
id-token: write is set.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 1da889d commit d3e0a35
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
136 | 146 | | |
137 | 147 | | |
138 | 148 | | |
| |||
0 commit comments