Skip to content

Commit e6e2697

Browse files
committed
fix: downgrade jwt-cpp to v0.4.0 to fix CMake compatibility issue
1 parent b6cd5ca commit e6e2697

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/actions/prepare_vm/action.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ runs:
3737
cmake -DCMAKE_BUILD_TYPE=Release ..
3838
sudo cmake --build . --config Release --target install
3939
cd ../../
40-
wget -O jwt-cpp-0.7.0.tar.gz https://github.com/Thalhammer/jwt-cpp/archive/refs/tags/v0.7.0.tar.gz
41-
tar -xvzf jwt-cpp-0.7.0.tar.gz && cd jwt-cpp-0.7.0
40+
wget -O jwt-cpp-0.4.0.tar.gz https://github.com/Thalhammer/jwt-cpp/archive/refs/tags/v0.4.0.tar.gz
41+
tar -xvzf jwt-cpp-0.4.0.tar.gz && cd jwt-cpp-0.4.0
4242
mkdir build && cd build
4343
cmake -DCMAKE_BUILD_TYPE=Release ..
4444
sudo cmake --build . --config Release --target install
4545
cd ../../
4646
(V=4.8.1; curl -L https://github.com/ccache/ccache/releases/download/v${V}/ccache-${V}-linux-x86_64.tar.xz | \
4747
sudo tar -xJ -C /usr/local/bin/ --strip-components=1 --no-same-owner ccache-${V}-linux-x86_64/ccache)
48-
sudo rm -rf llvm.sh libiconv-1.15.tar.gz base64-0.5.2.tar.gz brotli-1.1.0.tar.gz jwt-cpp-0.7.0.tar.gz \
49-
libiconv-1.15 base64-0.5.2 brotli-1.1.0 jwt-cpp-0.7.0
48+
sudo rm -rf llvm.sh libiconv-1.15.tar.gz base64-0.5.2.tar.gz brotli-1.1.0.tar.gz jwt-cpp-0.4.0.tar.gz \
49+
libiconv-1.15 base64-0.5.2 brotli-1.1.0 jwt-cpp-0.4.0

0 commit comments

Comments
 (0)