Skip to content

Commit

Permalink
[CI] Fix syntax for multi-line expressions in sycl-linux-precommit.yml (
Browse files Browse the repository at this point in the history
#15587)

Fixes: #15481
Example of a successful run:
https://github.com/intel/llvm/actions/runs/11151448349/job/30995146095

It seems that only `>-` actually works when we use multi-line
expressions using `${{ }}`.
https://github.com/orgs/community/discussions/25641#discussioncomment-10617902
  • Loading branch information
uditagarwal97 authored Oct 3, 2024
1 parent e3cfbfe commit a4210c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sycl-linux-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ jobs:
env: ${{ matrix.env || '{}' }}

# Do not install drivers on AMD and CUDA runners.
install_igc_driver: |
install_igc_driver: >-
${{ !contains(matrix.target_devices, 'ext_oneapi_cuda') &&
!contains(matrix.target_devices, 'ext_oneapi_hip') &&
contains(needs.detect_changes.outputs.filters, 'drivers') }}
install_dev_igc_driver: |
install_dev_igc_driver: >-
${{ !contains(matrix.target_devices, 'ext_oneapi_cuda') &&
!contains(matrix.target_devices, 'ext_oneapi_hip') &&
matrix.use_igc_dev && contains(needs.detect_changes.outputs.filters, 'devigccfg') ||
Expand Down

0 comments on commit a4210c3

Please sign in to comment.