ci: use new case syntax in workflows (#49590)

ci: use new case synta in workflows
This commit is contained in:
Shelley Vohr
2026-02-03 17:57:14 +01:00
committed by GitHub
parent 28858ecb85
commit def7854848
5 changed files with 29 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ runs:
echo "GN_EXTRA_ARGS=$GN_APPENDED_ARGS" >> $GITHUB_ENV
- name: Set GN_EXTRA_ARGS for Windows
shell: bash
if: ${{inputs.target-arch != 'x64' && inputs.target-platform == 'win' }}
if: ${{ inputs.target-arch != 'x64' && inputs.target-platform == 'win' }}
run: |
GN_APPENDED_ARGS="$GN_EXTRA_ARGS target_cpu=\"${{ inputs.target-arch }}\""
echo "GN_EXTRA_ARGS=$GN_APPENDED_ARGS" >> $GITHUB_ENV