We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6643b87 commit 5c5227aCopy full SHA for 5c5227a
1 file changed
.github/workflows/build.yaml
@@ -8,6 +8,11 @@ on:
8
default: ${{github.ref}}
9
required: false
10
type: string
11
+ build-devcontainer:
12
+ description: "True will build the devcontainer"
13
+ default: true
14
+ required: false
15
+ type: boolean
16
outputs:
17
artifact-name:
18
description: "artifacts name"
@@ -24,6 +29,16 @@ on:
24
29
workflow_dispatch:
25
30
26
31
jobs:
32
33
+ uses: ./.github/workflows/build-devcontainer.yaml
34
+ secrets: inherit
35
+ with:
36
+ tags: "${{ github.sha }}"
37
+ # NOTE: We check "!= true" instead of just checking the value
38
+ # since by default when the workflow is call with "workflow dispatch"
39
+ # the input will (sadly) be "" and not use the default value
40
+ skip: ${{ inputs.build-devcontainer != true }}
41
+
27
42
build:
28
43
runs-on: ubuntu-20.04
44
0 commit comments