Skip to content

Commit d524fc1

Browse files
committed
ci: add publish step to fun.build script
1 parent dd66e41 commit d524fc1

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/contextive-publish.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@ jobs:
4343
working-directory: src
4444
env:
4545
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
46-
47-
# - run: npx vsce publish --packagePath contextive-${{ matrix.vsce_platform }}-${{ steps.get-version.outputs.VERSION}}.vsix
48-
# env:
49-
# VSCE_PAT: ${{ secrets.VSCE_PAT }}
50-
# working-directory: ./src/vscode/contextive
46+
VSCE_PAT: ${{ secrets.VSCE_PAT }}
5147

5248
vscode:
5349
name: VsCode Extension

.github/workflows/contextive.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ on:
33
push:
44
paths:
55
- 'src/**'
6-
- '.github/**'
6+
- '.github/workflows/contextive.yml'
7+
- '.github/actions/**'
78
env:
89
DOTNET_VERSION: '7.0.x'
910
jobs:

src/vscode/build.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pipeline "Contextive VsCode Extension" {
102102
run (fun ctx -> $"gh release upload {ctx.GetCmdArg(args.release)} {vsCodeAssetFileName ctx}")
103103
}
104104

105-
stage "Publish to Marketplace" { echo "Not doing yet." }
105+
stage "Publish to Marketplace" { run (fun ctx -> $"npx vsce publish --packagePath {vsCodeAssetFileName ctx}") }
106106
}
107107

108108
runIfOnlySpecified false

0 commit comments

Comments
 (0)