Skip to content

Commit dfa627f

Browse files
committed
ops: add publish manifest and change action
1 parent bdee4a1 commit dfa627f

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1+
name: CI
12
on:
23
push:
3-
tags:
4-
- "*"
4+
branches: [main]
55

66
name: Deploy Extension
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-node@v4
11+
- name: Publish Extension
12+
uses: cezarypiatek/[email protected]
1313
with:
14-
node-version: 24
15-
- run: npm ci
16-
- name: Publish to Visual Studio Marketplace
17-
uses: HaaLeo/publish-vscode-extension@v1
18-
with:
19-
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
20-
registryUrl: https://marketplace.visualstudio.com
14+
extension-file: src\MappingGenerator.Vsix\bin\Release\MappingGenerator.vsix
15+
publish-manifest-file: src\MappingGenerator.Vsix\publishManifest.json
16+
personal-access-code: ${{ secrets.VS_MARKETPLACE_TOKEN }}

publishManifest.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "http://json.schemastore.org/vsix-publish",
3+
"categories": [
4+
"Themes"
5+
],
6+
"identity": {
7+
"displayName": "Dim Fire",
8+
"internalName": "dimfire",
9+
"description": "Dim, simple, warm theme for the minimalist.",
10+
"icon": "assets/icon-nobg.png"
11+
},
12+
"overview": "README.md",
13+
"priceCategory": "free",
14+
"publisher": "ahme-dev",
15+
"private": false,
16+
"qna": false,
17+
"repo": "https://github.com/ahme-dev/dimfire"
18+
}

0 commit comments

Comments
 (0)