Skip to content

Commit 8e7a325

Browse files
authored
Merge pull request #3777 from continuedev/nate/vscode-build-button
kick off build without publish (vscode)
2 parents 2262c8c + f06f860 commit 8e7a325

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/main.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ on:
44
release:
55
types: [released]
66

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+
714
jobs:
815
check_release_name:
916
runs-on: ubuntu-latest
@@ -21,7 +28,7 @@ jobs:
2128
2229
build:
2330
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'
2532
strategy:
2633
matrix:
2734
include:
@@ -201,6 +208,7 @@ jobs:
201208
runs-on: ubuntu-latest
202209
needs:
203210
- build
211+
if: github.event.inputs.publish_build == 'true'
204212
permissions:
205213
contents: write
206214
steps:

0 commit comments

Comments
 (0)