Skip to content

Commit e55b748

Browse files
github: cache only Boost library on Linux workflow
1 parent 865f76c commit e55b748

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/linux.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,23 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3
1717

18-
- name: Cache externals
19-
id: cache-externals
18+
- name: Cache Boost
19+
id: cache-boost
2020
uses: actions/cache@v3
2121
with:
2222
path: ${{runner.temp}}/boost_1_88_0
23-
key: cache-externals
23+
key: cache-boost
2424

25-
- name: Get externals
26-
if: steps.cache-externals.outputs.cache-hit != 'true'
25+
- name: Get GCC
26+
run: sudo apt-get install g++-10
27+
28+
- name: Get pyOpenSSL
29+
run: pyOpenSSL
30+
31+
- name: Get Boost
32+
if: steps.cache-boost.outputs.cache-hit != 'true'
2733
working-directory: ${{runner.temp}}
2834
run: |
29-
sudo apt-get install g++-10
30-
pip3 install pyOpenSSL
3135
# Download Boost.
3236
wget https://archives.boost.io/release/1.88.0/source/boost_1_88_0.tar.gz
3337
# Extract.

0 commit comments

Comments
 (0)