Skip to content

1.0.8

1.0.8 #13

Workflow file for this run

name: Publish Release
on:
release:
types: [published]
jobs:
publish-release:
name: Publish Release
runs-on: ubuntu-latest
env:
VSIX_FILE: "anki-editor-${{ github.ref_name }}.vsix"
steps:
- name: Download vsix release asset
uses: dsaltares/fetch-gh-release-asset@1.1.0
with:
version: "tags/${{ github.ref_name }}"
file: ${{ env.VSIX_FILE }}
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
extensionFile: ${{ env.VSIX_FILE }}
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
registryUrl: https://open-vsx.org
extensionFile: ${{ env.VSIX_FILE }}