Skip to content

Commit

Permalink
host enabled in wf?
Browse files Browse the repository at this point in the history
  • Loading branch information
gauron99 committed Dec 12, 2024
1 parent 0466f3c commit ce29a39
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
env:
ACTIONS_STEP_DEBUG: true
language_paths: ${{needs.prepare.outputs.language_paths}}
HOST_ENABLED_LANGUAGES: ['go','python']
HOST_ENABLED: ${{ matrix.language == 'go' || matrix.language == "python" && 'true' || 'false'}}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -45,11 +47,12 @@ jobs:
version: ${{ env.FUNC_VERSION }}
name: f

- name: Build Functions
- name: Deploy Functions
run: |
language=${{matrix.language}}
echo "Current language: $language"
echo "HOST_ENABLED? ${{env.HOST_ENABLED}}"
# This takes the array of paths, wraps it in single quotes for jq, then
# selects only the value that matches with language to get current
# language AND its full path (where the func template is)
Expand Down

0 comments on commit ce29a39

Please sign in to comment.