Skip to content

VSCE package

VSCE package #7

name: 'VSCE package'
run-name: "VSCE package"
on:
workflow_dispatch:
permissions:
contents: write
jobs:
CreateApp:
runs-on: [ ubuntu-latest ]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: npm install ${{ github.workspace }}/Git-to-AL-project-configurator/
- name: Install vsce globally
run: npm install -g vsce
- name: package vsc Install
run: |
cd ${{ github.workspace }}/
vsce package --out ${{ github.workspace }}/Git-to-AL-project-configurator.vsix
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: Git-to-AL-project-configurator.vsix
path: ${{ github.workspace }}/Git-to-AL-project-configurator.vsix
if-no-files-found: error
- name: Upload Repository
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update repository with new version of vsix