We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2262c8c + f06f860 commit 8e7a325Copy full SHA for 8e7a325
.github/workflows/main.yaml
@@ -4,6 +4,13 @@ on:
4
release:
5
types: [released]
6
7
+ workflow_dispatch:
8
+ inputs:
9
+ publish_build:
10
+ description: "Whether or not to publish the built extension to the VS Code marketplace"
11
+ required: true
12
+ default: false
13
+
14
jobs:
15
check_release_name:
16
runs-on: ubuntu-latest
@@ -21,7 +28,7 @@ jobs:
21
28
22
29
build:
23
30
needs: check_release_name
24
- if: needs.check_release_name.outputs.should_run == 'true'
31
+ if: needs.check_release_name.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch'
25
32
strategy:
26
33
matrix:
27
34
include:
@@ -201,6 +208,7 @@ jobs:
201
208
202
209
needs:
203
210
- build
211
+ if: github.event.inputs.publish_build == 'true'
204
212
permissions:
205
213
contents: write
206
214
steps:
0 commit comments