Skip to content

Commit

Permalink
Added github workflow to create the vsix package.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sedeniono committed Jan 15, 2024
1 parent ebb0bb0 commit 9875314
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/create_vsix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: create vsix package

on:
push:
# Trigger workflow for commits only, not for tags.
branches:
- '**'
pull_request:
workflow_dispatch:


jobs:
create_vsix:
runs-on: windows-2022

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Install extension packaging tool (TFX)
run: npm install -g tfx-cli

- name: Install package dependencies
run: npm ci

- name: Create vsix package
run: npx tfx-cli extension create

- name: Upload vsix package
uses: actions/upload-artifact@v4
with:
name: vsix_zip
path: ./*.vsix
if-no-files-found: error
2 changes: 1 addition & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "HistoryDiff",
"publisher": "Sedenion",
"version": "0.1.0.0",
"version": "0.1.0.1",
"name": "History Diff",
"description": "Azure DevOps extension to show the history of work item fields with proper diffs.",
"public": false,
Expand Down

0 comments on commit 9875314

Please sign in to comment.