kimi-code/.github/workflows
qer 44b40e6852
ci: add VS Code extension publish workflow (#3332)
* ci: add VS Code extension publish workflow

Publish VSIX to VS Marketplace and Open VSX on version-change pushes
to main, with online-version gates and workflow_dispatch fallback.

* ci(vscode): harden publish gate with before-SHA diff and per-platform checks

Address review on the auto-publish workflow:

- Version-change detection now compares against the push event's
  `before` SHA instead of `GITHUB_SHA~1`, so a single push carrying
  multiple commits cannot skip a version bump. An empty or all-zero
  `before` (e.g. first push of a branch) is treated as a version
  change — better an extra marketplace lookup than a missed release.
- Marketplace gates now verify all 6 targetPlatforms
  (darwin/linux/win32 x x64/arm64) instead of only the version number:
  Open VSX is checked per-platform via REST, VS Marketplace via the
  targetPlatform entries in `vsce show --json`. A partially published
  version now reruns the affected publish step, which backfills
  idempotently via --skip-duplicate / already-exists handling.
  Lookup failures stay fail-closed (treated as not published).

---------

Co-authored-by: kimi-agent-bot <kimi-agent-bot@users.noreply.github.com>
2026-08-28 19:59:38 +08:00
..
_native-build.yml chore(web): replace apps/kimi-web with the code-app web bundle (#2599) 2026-08-05 13:38:30 +08:00
ci.yml feat(vscode): switch the extension to the v2 engine with a rollback switch (#2916) 2026-08-14 17:22:10 +08:00
docs-deploy.yml ci: deploy docs only on release to keep docs in sync with published versions (#425) 2026-06-04 22:01:10 +08:00
manual-native-bundle.yml ci: Update manual-native-bundle.yml (#19) 2026-05-25 16:19:29 +08:00
nix-build.yml chore(flake): simplify nix build and add ci validation (#257) 2026-06-01 11:47:38 +08:00
pkg-pr-new.yml chore(web): replace apps/kimi-web with the code-app web bundle (#2599) 2026-08-05 13:38:30 +08:00
pr-title-checker.yml Kimi For Coding 2026-05-22 15:54:50 +08:00
release.yml chore: remove kimi-desktop app and desktop release pipeline (#1849) 2026-07-17 20:32:47 +08:00
vscode-publish.yml ci: add VS Code extension publish workflow (#3332) 2026-08-28 19:59:38 +08:00