Skip to content

ci(wasm): publish the wasm bundles on v* tags, like publish-cvcpkg - #592

Merged
transfix merged 1 commit into
masterfrom
ci/wasm-publish-on-tags
Oct 9, 2026
Merged

transfix merged 1 commit into
masterfrom
ci/wasm-publish-on-tags

Conversation

@transfix

@transfix transfix commented Oct 9, 2026

Copy link
Copy Markdown
Owner

What

A release tag publishes the native cvcpkg family (publish-cvcpkg.yml runs on v*), but the two wasm publishes were dispatch-only. 3.5.0's wasm bundles went out a day after the tag, from a manual run. This makes them tag-triggered like the rest:

workflow publishes change
publish-cvcgl-wasm.yml libcvc + cvcgl + the cvcgl-examples gallery, wasm-mt + push: tags: ['v*']; a tag push publishes
publish-pycvc-gl-wasm.yml pycvc-gl-cp312, wasm + push: tags: ['v*']; a tag push publishes
  • Manual dispatch is unchanged: it's still a dry run by default, and dry_run=false publishes.
  • Dry-run checks are now explicit for pushes:
    • publish-cvcgl-wasm reads a job-level DRY_RUN, which is true only for a dispatch with dry_run checked. Before, it read an inputs.dry_run that's empty on a push.
    • publish-pycvc-gl-wasm's publish step gates on github.event_name == 'push' || inputs.dry_run == false. Before, it relied on null == false coercion.
  • No race: publish-pycvc-gl-wasm compiles cvc + cvcGL from source and never installs the published cvcgl wasm bundle, so both can run on the same tag.

Merge this before tagging v3.5.1 (#590), so that tag publishes wasm too.

publish-cvcgl-wasm (libcvc + cvcgl + the cvcgl-examples gallery for wasm-mt)
and publish-pycvc-gl-wasm (pycvc-gl-cp312 for wasm) were dispatch-only, so a
release tag published the native family but left wasm behind until someone
dispatched them by hand (3.5.0's wasm went out a day after the tag).

- Both now also run on `push: tags: ['v*']`, the trigger publish-cvcpkg.yml
  uses, and publish on a tag push.
- Manual dispatch is unchanged: still a dry run by default, dry_run=false
  publishes. publish-cvcgl-wasm reads an explicit job-level DRY_RUN (true only
  for a dispatch with dry_run checked) instead of an inputs.dry_run that is
  empty on a push; publish-pycvc-gl-wasm's publish step gates on
  `github.event_name == 'push' || inputs.dry_run == false` instead of relying
  on null == false coercion.
- pycvc-gl-wasm compiles cvc + cvcGL from source, so running both on the same
  tag does not race on publish-cvcgl-wasm's bundles.
@transfix
transfix merged commit 8bf022f into master Oct 9, 2026
14 checks passed
@transfix
transfix deleted the ci/wasm-publish-on-tags branch October 10, 2026 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant