Files
nx_post_support/.gitea/workflows/build_and_puplish.yml
T
Christoph Brandau 202c401062
/ build_and_publish (push) Failing after 18s
update workflow
2025-01-08 11:23:59 +01:00

29 lines
803 B
YAML

on:
push:
tags:
- "*"
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: GitHub Tag Name example
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install NPM Packages
run: npm i
- name: Install VSCE
run: npm -g i @vscode/vsce
- name: Build Package Files
run: npm run package
- name: Publish to Visual Studio Marketplace
run: vsce publish ${{ github.ref_name }}
env:
VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }}