-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactions-kit.config.ts
89 lines (88 loc) · 2.32 KB
/
actions-kit.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import { defineConfig } from "actions-kit/config";
import rolldown from "@actions-sdk/rolldown-builder";
export default defineConfig({
writeYaml: true,
action: {
name: "Publish Visual Studio Code Extension",
description:
"An action to publish Visual Studio Code Extension to Open VSX Registry or Visual Studio Marketplace",
author: "luxass",
branding: {
color: "purple",
icon: "package",
},
inputs: {
token: {
description: "The token to use for authentication.",
required: true,
},
registry: {
description:
"The registry to publish to. (URL's are supported, but also the values 'open-vsx' and 'vs-marketplace' are supported.)",
required: true,
default: "vs-marketplace",
},
"extension-path": {
description: "Path to VSIX File or path the extension you want to publish.",
required: false,
default: "./",
},
debug: {
description:
"Show debug information. (This is not the same as enabling debug logging for the workflow rerun)",
required: false,
default: "false",
},
"dry-run": {
description:
"Do not publish the extension, but show the information that would be sent to the registry.",
required: false,
default: "false",
},
"pre-release": {
description: "Mark the extension as pre-release extension.",
required: false,
default: "false",
},
manager: {
description:
"The package manager to use. (we automatically detect the package manager if you don't specify it)",
required: false,
},
"fail-silently": {
description: "Do not fail if the extension is already published.",
required: false,
default: "false",
},
targets: {
description: "Target architecture(s) the extension should run on. (Comma separated list)",
required: false,
},
"base-content-url": {
description: "Prepend all relative links in README.md with this URL.",
required: false,
},
"base-images-url": {
description: "Prepend all relative image links in README.md with this URL.",
required: false,
},
},
outputs: {
vsix: {
description: "The path to the VSIX file.",
},
success: {
description: "Whether the action was successful.",
},
},
runs: {
using: "node20",
main: "dist/index.mjs",
},
},
builder: rolldown({
external: [
"keytar"
]
}),
});