diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4ceaa3748c..1a0ebc927d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -114,7 +114,7 @@ jobs: - name: Setup CMake run: | - curl -L $(curl -s https://api.github.com/repos/kitware/cmake/releases/latest | python -c "import sys, json; print(json.load(sys.stdin)['assets'][14]['browser_download_url'])") -o cmake.zip + curl -L $(curl -s https://api.github.com/repos/kitware/cmake/releases/latest | python -c "import sys, json; print(json.load(sys.stdin)[14]['browser_download_url'])") -o cmake.zip unzip cmake.zip - name: Setup JDK