fix(CI): minor #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is part of the DiscoPoP software (http://www.discopop.tu-darmstadt.de) | |
# | |
# Copyright (c) 2020, Technische Universitaet Darmstadt, Germany | |
# | |
# This software may be modified and distributed under the terms of | |
# the 3-Clause BSD License. See the LICENSE file in the package base | |
# directory for details. | |
name: "Deploy Extension" | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "*" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- run: npm ci | |
- name: Publish to Visual Studio Marketplace | |
uses: HaaLeo/publish-vscode-extension@v1 | |
with: | |
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }} | |
registryUrl: https://marketplace.visualstudio.com |