@@ -32,20 +32,20 @@ jobs:
3232 id : cache-depends
3333 uses : actions/cache@v2
3434 with :
35- path : protobuf-3.15.8
35+ path : protobuf-3.20.1
3636 key : ${{ runner.os }}-v1-depends
3737
3838 - name : Download ProtoBuf
3939 if : steps.cache-depends.outputs.cache-hit != 'true'
40- run : curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.15.8 /protobuf-all-3.15.8 .tar.gz && tar xzvf protobuf-all-3.15.8 .tar.gz
40+ run : curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.20.1 /protobuf-all-3.20.1 .tar.gz && tar xzvf protobuf-all-3.20.1 .tar.gz
4141
4242 - name : Build ProtoBuf
4343 if : steps.cache-depends.outputs.cache-hit != 'true'
44- working-directory : protobuf-3.15.8
44+ working-directory : protobuf-3.20.1
4545 run : ./configure DIST_LANG=cpp --prefix=/usr && make
4646
4747 - name : Install ProtoBuf
48- working-directory : protobuf-3.15.8
48+ working-directory : protobuf-3.20.1
4949 run : sudo make install && sudo ldconfig
5050
5151 - name : Install proto2cpp
6262 - name : Prepare Documentation Build
6363 run : |
6464 sed -i 's/PROJECT_NUMBER\s*= @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@/PROJECT_NUMBER = master (${{ steps.get_version.outputs.VERSION }})/g' doxygen_config.cmake.in
65- echo "EXCLUDE_PATTERNS = */osi3/* */protobuf-3.15.8 /* */proto2cpp/*" >> doxygen_config.cmake.in
65+ echo "EXCLUDE_PATTERNS = */osi3/* */protobuf-3.20.1 /* */proto2cpp/* */flatbuffers /*" >> doxygen_config.cmake.in
6666 echo "GENERATE_TREEVIEW = YES" >> doxygen_config.cmake.in
6767
6868 - name : Configure C++ Build
7474 run : cmake --build . --config Release -j 4
7575
7676 - name : Build Python
77- run : python setup.py build && python setup.py sdist
77+ run : python setup.py build && python setup.py sdist
7878
7979 - name : Install Python
8080 run : python -m pip install .
@@ -120,20 +120,20 @@ jobs:
120120 id : cache-depends
121121 uses : actions/cache@v2
122122 with :
123- path : protobuf-3.15.8
123+ path : protobuf-3.20.1
124124 key : ${{ runner.os }}-v1-depends
125125
126126 - name : Download ProtoBuf
127127 if : steps.cache-depends.outputs.cache-hit != 'true'
128- run : curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.15.8 /protobuf-all-3.15.8 .tar.gz && tar xzvf protobuf-all-3.15.8 .tar.gz
128+ run : curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.20.1 /protobuf-all-3.20.1 .tar.gz && tar xzvf protobuf-all-3.20.1 .tar.gz
129129
130130 - name : Build ProtoBuf
131131 if : steps.cache-depends.outputs.cache-hit != 'true'
132- working-directory : protobuf-3.15.8
132+ working-directory : protobuf-3.20.1
133133 run : ./configure DIST_LANG=cpp --prefix=/usr && make
134134
135135 - name : Install ProtoBuf
136- working-directory : protobuf-3.15.8
136+ working-directory : protobuf-3.20.1
137137 run : sudo make install && sudo ldconfig
138138
139139 - name : Prepare C++ Build
@@ -153,7 +153,7 @@ jobs:
153153 run : cmake --build . --config Release -j 4
154154
155155 - name : Build Python
156- run : python setup.py build && python setup.py sdist
156+ run : python setup.py build && python setup.py sdist
157157
158158 - name : Install Python
159159 run : python -m pip install .
0 commit comments