Skip to content

Commit 0768c55

Browse files
committed
updates action script
1 parent 4f49228 commit 0768c55

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -311,23 +311,16 @@ jobs:
311311
uses: actions/cache@v4
312312
with:
313313
path: /opt/intel/oneapi
314-
key: install-${{ runner.os }}-all
314+
key: install-${{ runner.os }}-ifx-all
315315

316316
- name: Install packages
317-
#if: steps.cache-intel-oneapi-ifx.outputs.cache-hit != 'true'
317+
if: steps.cache-intel-oneapi-ifx.outputs.cache-hit != 'true'
318318
run: |
319-
# old way
320-
#wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
321-
#sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB # deprecated warning
322-
#sudo echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
323-
# new way
324-
#curl -Lo- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | sudo gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg
325-
#sudo tee /etc/apt/sources.list.d/oneAPI.list <<< "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main"
326319
# new way
327320
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
328321
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
329322
echo ""
330-
sudo apt-get update
323+
sudo apt update
331324
echo ""
332325
# info
333326
sudo -E apt-cache pkgnames intel | grep intel-oneapi

0 commit comments

Comments
 (0)