Skip to content

6.4.0 🗳️ (#557) #3

6.4.0 🗳️ (#557)

6.4.0 🗳️ (#557) #3

Workflow file for this run

# Whenever any tag is pushed to the repo
on:
workflow_dispatch:
push:
tags:
- '*'
name: Publish extension
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run package:ci
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
# Generated via https://open-vsx.org/user-settings/tokens
# Saved locally as "CI VS Code Open VSX publish token"
pat: ${{ secrets.OPEN_VSX_TOKEN }}
extensionFile: 'ahkpp.vsix'
# dryRun: true
# preRelease: true
skipDuplicate: true
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
# https://github.com/mark-wiemer-org/ahkpp/settings/secrets/actions
# https://dev.azure.com/markwiemer/_usersSettings/tokens
# Saved locally as "CI VS Code Marketplace Publish Token"
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
extensionFile: 'ahkpp.vsix'
registryUrl: https://marketplace.visualstudio.com
# dryRun: true
# preRelease: true
skipDuplicate: true