@@ -1,7 +1,7 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- "*"
|
||||||
jobs:
|
jobs:
|
||||||
build_and_publish:
|
build_and_publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -10,8 +10,8 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: GitHub Tag Name example
|
- name: GitHub Tag Name example
|
||||||
run: |
|
run: |
|
||||||
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
|
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
|
||||||
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
|
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
|
||||||
- name: Install NodeJS
|
- name: Install NodeJS
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@@ -23,5 +23,6 @@ jobs:
|
|||||||
- name: Build Package Files
|
- name: Build Package Files
|
||||||
run: npm run package
|
run: npm run package
|
||||||
- name: Publish to Visual Studio Marketplace
|
- name: Publish to Visual Studio Marketplace
|
||||||
run: vsce publish ${{ secrets.VSCODE_MARKETPALCE }}
|
run: vsce publish ${{ github.ref_name }}
|
||||||
|
env:
|
||||||
|
VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }}
|
||||||
|
|||||||
Reference in New Issue
Block a user