Skip to content

VSCE package

VSCE package #11

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@v4
with:
node-version: '20'
- name: Install dependencies
run: |
cd ${{ github.workspace }}/Git-to-AL-project-configurator
npm install
- name: Install vsce globally
run: npm install -g vsce
- name: Package VSCE
run: |
cd ${{ github.workspace }}/Git-to-AL-project-configurator
vsce package --out ${{ github.workspace }}/GittoALprojectconfig.vsix
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: GittoALprojectconfig.vsix
path: ${{ github.workspace }}/GittoALprojectconfig.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"
file_pattern: 'GittoALprojectconfig.vsix'