Merge pull request #2417 from bimbashrestha/icc-fix

[build] Fix icc build. Using updated ubuntu packages
diff --git a/.github/workflows/generic-dev.yml b/.github/workflows/generic-dev.yml
index c66a2be..9fb4a0c 100644
--- a/.github/workflows/generic-dev.yml
+++ b/.github/workflows/generic-dev.yml
@@ -196,9 +196,9 @@
         sudo apt-get install -y wget build-essential pkg-config cmake ca-certificates gnupg
         sudo wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
         sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
-        echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
+        sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
         sudo apt-get update
-        sudo apt-get install -y intel-oneapi-icc
+        sudo apt-get install -y intel-basekit intel-hpckit
     - uses: actions/checkout@v2
     - name: make check
       run: |