diff --git a/.github/workflows/create_vsix.yml b/.github/workflows/create_vsix.yml new file mode 100644 index 0000000..299e4ec --- /dev/null +++ b/.github/workflows/create_vsix.yml @@ -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 diff --git a/vss-extension.json b/vss-extension.json index 9337fff..bd6fe11 100644 --- a/vss-extension.json +++ b/vss-extension.json @@ -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,