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.
1 parent e25f1bc commit 1a3f552Copy full SHA for 1a3f552
.github/workflows/bake.yml
@@ -48,11 +48,13 @@ jobs:
48
env:
49
# JSON array containing the extensions that have been changed
50
EXTENSIONS_CHANGED: ${{ steps.filter.outputs.changes }}
51
+ # Input Extension name
52
+ INPUT_EXTENSION_NAME: ${{ github.event.inputs.extension_name }}
53
run: |
- echo "{\"name\": $EXTENSIONS_CHANGED}" > matrix.json
- if [[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then
54
- EXTENSIONS_CHANGED="[${{ github.event.inputs.extension_name }}]"
+ if [[ "${{ github.event_name }}" == 'workflow_dispatch' ]]; then
55
+ EXTENSIONS_CHANGED="[\"$INPUT_EXTENSION_NAME\"]"
56
fi
57
+ echo "{\"name\": $EXTENSIONS_CHANGED}" > matrix.json
58
echo "matrix=$(cat matrix.json)" >> "$GITHUB_OUTPUT"
59
60
Bake:
0 commit comments