mirror of
https://github.com/apple/swift-nio
synced 2026-11-28 05:14:23 +00:00
install jq, use correct quotes (#3145)
install jq, use correct quotes. Running this locally in `act` highlighted that it was always failing to find `jq`
This commit is contained in:
1 parent
4582f55c0d
commit
dc06cf85f3
1 file changed
+4
-2
@@ -37,8 +37,10 @@ jobs:
|
||||
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
||||
- name: Check CMakeLists files
|
||||
run: |
|
||||
which curl || (apt -q update && apt -yq install curl)
|
||||
curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/update-cmake-lists.sh | CONFIG_JSON="${{ inputs.update_cmake_lists_config }}" FAIL_ON_CHANGES=true bash
|
||||
which curl jq || apt -q update
|
||||
which curl || apt -yq install curl
|
||||
which jq || apt -yq install jq
|
||||
curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/update-cmake-lists.sh | CONFIG_JSON='${{ inputs.update_cmake_lists_config }}' FAIL_ON_CHANGES=true bash
|
||||
- name: CMake build
|
||||
run: |
|
||||
which curl cmake ninja || apt -q update
|
||||
|
||||
Reference in new issue
Block a user