mirror of
https://github.com/Z3Prover/z3
synced 2026-07-22 15:05:51 +00:00
Fix WebAssembly Publish job by using the release environment (#10155)
The `WebAssembly Publish` workflow was failing in the `Publish` step
after a successful build/test pass. The failure was isolated to npm
publication, indicating the job was not running with the intended
release-scoped publish configuration.
- **Workflow wiring**
- Attach the `publish` job in `.github/workflows/wasm-release.yml` to
the existing `release` environment.
- Align the wasm npm publish path with the repository’s other release
publishing jobs that already rely on environment-scoped release
configuration.
- **Effect**
- Ensures the final `npm publish` step executes in the same release
context as other artifact publication jobs.
- Avoids publishing with default job context when release-specific
configuration is required.
```yaml
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
environment: release
```
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
parent
8e3402b215
commit
0d7376c733
1 changed files with 1 additions and 0 deletions
1
.github/workflows/wasm-release.yml
vendored
1
.github/workflows/wasm-release.yml
vendored
|
|
@ -19,6 +19,7 @@ jobs:
|
|||
publish:
|
||||
name: Publish
|
||||
runs-on: ubuntu-latest
|
||||
environment: release
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue