update workflow
/ build_and_publish (push) Failing after 18s

This commit is contained in:
Christoph Brandau
2025-01-08 11:23:59 +01:00
parent 5e2327c109
commit 202c401062
+6 -5
View File
@@ -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 }}