Skip to content

Commit fa6631c

Browse files
authored
Fix GitHub Actions (#416)
Added `apt-get update` to actions. Signed-off-by: Li, Xun <xun.li@intel.com>
1 parent b21983b commit fa6631c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/c-cpp.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: install dependencies
24-
run: sudo apt-get install libcurl4-openssl-dev libboost-dev libboost-system-dev libboost-thread-dev
24+
run: |
25+
sudo apt-get update
26+
sudo apt-get install libcurl4-openssl-dev libboost-dev libboost-system-dev libboost-thread-dev
2527
- name: init submodule
2628
run: git submodule update --init --recursive
2729
- name: download prebuilt

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
- name: Build
5252
if: matrix.build-mode == 'manual'
5353
run: |
54+
sudo apt-get update
5455
sudo apt-get install libcurl4-openssl-dev libboost-dev libboost-system-dev libboost-thread-dev
5556
QuoteGeneration/download_prebuilt.sh
5657
wget -r -l1 -np -nd --accept 'sgx_linux_x64_sdk_*.bin' https://download.01.org/intel-sgx/latest/linux-latest/distro/ubuntu22.04-server/

0 commit comments

Comments
 (0)