File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,17 @@ jobs:
105
105
"https://curl.se/ca/cacert.pem" `
106
106
-OutFile "C:\cacert.pem"
107
107
108
- - name : Install Boost
108
+ - name : Cache Boost Version
109
+ id : cache-boost
110
+ uses : actions/cache@v3
111
+ with :
112
+ path : C:\Boost
113
+ key : ${{ matrix.vc_boost.name }}-${{ matrix.arch.address_model }}-${{ matrix.build_type }}
114
+ restore-keys : |
115
+ ${{ matrix.vc_boost.name }}-${{ matrix.arch.address_model }}-${{ matrix.build_type }}
116
+
117
+ - if : ${{ steps.cache-boost.outputs.cache-hit != 'true' }}
118
+ name : Install Boost
109
119
run : |
110
120
Invoke-WebRequest `
111
121
"${{ matrix.vc_boost.boost_url }}" `
@@ -119,7 +129,17 @@ jobs:
119
129
cd ..
120
130
Remove-Item ${{ matrix.vc_boost.boost_folder_name }} -Recurse -Force
121
131
122
- - name : Install Thrift
132
+ - name : Cache Thrift Version
133
+ id : cache-thrift
134
+ uses : actions/cache@v3
135
+ with :
136
+ path : C:\Thrift
137
+ key : ${{ matrix.vc_boost.image }}-${{ matrix.arch.address_model }}-thrift-0.13-${{ matrix.build_type }}
138
+ restore-keys : |
139
+ ${{ matrix.vc_boost.image }}-${{ matrix.arch.address_model }}-thrift-0.13-${{ matrix.build_type }}
140
+
141
+ - if : ${{ steps.cache-thrift.outputs.cache-hit != 'true' }}
142
+ name : Install Thrift
123
143
run : |
124
144
Invoke-WebRequest `
125
145
"https://archive.apache.org/dist/thrift/0.13.0/thrift-0.13.0.tar.gz" `
You can’t perform that action at this time.
0 commit comments