Skip to content

Commit 68b76bf

Browse files
committed
fix(action): correct quoting in workflow expressions
Corrects the quoting of GitHub Actions expressions in `action.yml`. The expression parser was failing when an expression contained single quotes while also being wrapped in single quotes. This change switches to using double quotes to wrap expressions that contain single quotes, which resolves the parsing error and ensures the workflow functions correctly.
1 parent c27fb3e commit 68b76bf

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ runs:
8484
shell: 'bash'
8585
run: '${{ github.action_path }}/scripts/validate-inputs.sh'
8686
env:
87-
INPUT_GEMINI_API_KEY_PRESENT: '${{ inputs.gemini_api_key != '' }}'
88-
INPUT_GOOGLE_API_KEY_PRESENT: '${{ inputs.google_api_key != '' }}'
89-
INPUT_GCP_WORKLOAD_IDENTITY_PROVIDER_PRESENT: '${{ inputs.gcp_workload_identity_provider != '' }}'
90-
INPUT_GCP_PROJECT_ID_PRESENT: '${{ inputs.gcp_project_id != '' }}'
91-
INPUT_GCP_SERVICE_ACCOUNT_PRESENT: '${{ inputs.gcp_service_account != '' }}'
87+
INPUT_GEMINI_API_KEY_PRESENT: "${{ inputs.gemini_api_key != '' }}"
88+
INPUT_GOOGLE_API_KEY_PRESENT: "${{ inputs.google_api_key != '' }}"
89+
INPUT_GCP_WORKLOAD_IDENTITY_PROVIDER_PRESENT: "${{ inputs.gcp_workload_identity_provider != '' }}"
90+
INPUT_GCP_PROJECT_ID_PRESENT: "${{ inputs.gcp_project_id != '' }}"
91+
INPUT_GCP_SERVICE_ACCOUNT_PRESENT: "${{ inputs.gcp_service_account != '' }}"
9292
INPUT_USE_VERTEX_AI: '${{ inputs.use_vertex_ai }}'
9393
INPUT_USE_GEMINI_CODE_ASSIST: '${{ inputs.use_gemini_code_assist }}'
9494
- name: 'Configure Gemini CLI'

0 commit comments

Comments
 (0)