Skip to content

M034 S09 repaired rollout target #6

M034 S09 repaired rollout target

M034 S09 repaired rollout target #6

# Publish Mesh VS Code extension to VS Code Marketplace and Open VSX
# Trigger: git tag ext-vX.Y.Z && git push origin ext-vX.Y.Z
# Requires secrets: VS_MARKETPLACE_TOKEN, OPEN_VSX_TOKEN
name: Publish Extension
on:
push:
tags:
- "ext-v*"
permissions:
contents: read
jobs:
proof:
name: Verify extension release proof
uses: ./.github/workflows/extension-release-proof.yml
publish:
name: Publish verified extension
needs:
- proof
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Download verified VSIX
uses: actions/download-artifact@v4
with:
name: ${{ needs.proof.outputs.verified_vsix_artifact_name }}
path: tools/editors/vscode-mesh/dist/
- name: Confirm verified VSIX handoff
shell: bash
env:
VERIFIED_VSIX_PATH: ${{ needs.proof.outputs.verified_vsix_path }}
run: |
test -n "$VERIFIED_VSIX_PATH"
test -f "$VERIFIED_VSIX_PATH"
echo "Publishing verified VSIX: $VERIFIED_VSIX_PATH"
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v2
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
extensionFile: ${{ needs.proof.outputs.verified_vsix_path }}
skipDuplicate: true
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v2
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ needs.proof.outputs.verified_vsix_path }}
skipDuplicate: true