30 lines
793 B
YAML
30 lines
793 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
# tags:
|
|
# - '*'
|
|
jobs:
|
|
build_and_publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
# - name: Install NodeJS
|
|
# uses: actions/setup-node@v4
|
|
# with:
|
|
# node-version: 20
|
|
# - name: Install NPM
|
|
# run: npm i
|
|
# - name: Install VSCE
|
|
# run: npm -g i @vscode/vsce
|
|
- name: Tag Name
|
|
run: echo ${{ gitea.tag }}
|
|
# - name: Build Package Files
|
|
# run: npm run package
|
|
# - name: Publish to Visual Studio Marketplace
|
|
# uses: HaaLeo/publish-vscode-extension@v1
|
|
# with:
|
|
# pat: ${{ secrets.VSCODE_MARKETPALCE }}
|
|
# registryUrl: https://marketplace.visualstudio.com
|
|
|