mirror of
https://github.com/tauri-apps/tauri-vscode.git
synced 2026-01-31 00:35:18 +01:00
33 lines
850 B
YAML
33 lines
850 B
YAML
# Copyright 2020-2023 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
repository_dispatch:
|
|
types: [publish]
|
|
|
|
name: Publish Extension
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
cache: 'yarn'
|
|
- run: yarn
|
|
- name: Publish to Open VSX Registry
|
|
uses: HaaLeo/publish-vscode-extension@v1
|
|
with:
|
|
pat: ${{ secrets.OPEN_VSX_TOKEN }}
|
|
yarn: true
|
|
- name: Publish to Visual Studio Marketplace
|
|
uses: HaaLeo/publish-vscode-extension@v1
|
|
with:
|
|
pat: ${{ secrets.VSCE_TOKEN }}
|
|
registryUrl: https://marketplace.visualstudio.com
|
|
yarn: true
|