mirror of
https://github.com/curl/curl.git
synced 2026-05-15 00:36:20 +03:00
GHA: tidy up single-line run blocks
Also double quote a shell variable. Closes #17552
This commit is contained in:
parent
f33ec60fbf
commit
900612df79
3 changed files with 5 additions and 7 deletions
6
.github/workflows/configure-vs-cmake.yml
vendored
6
.github/workflows/configure-vs-cmake.yml
vendored
|
|
@ -47,8 +47,7 @@ jobs:
|
|||
mkdir bld-am && cd bld-am && ../configure --enable-static=no --with-openssl --without-libpsl --without-brotli
|
||||
|
||||
- name: 'run cmake'
|
||||
run: |
|
||||
cmake -B bld-cm -DCURL_WERROR=ON -DCURL_USE_LIBPSL=OFF -DCURL_BROTLI=OFF
|
||||
run: cmake -B bld-cm -DCURL_WERROR=ON -DCURL_USE_LIBPSL=OFF -DCURL_BROTLI=OFF
|
||||
|
||||
- name: 'configure log'
|
||||
run: cat bld-am/config.log 2>/dev/null || true
|
||||
|
|
@ -81,8 +80,7 @@ jobs:
|
|||
while [[ $? == 0 ]]; do for i in 1 2 3; do if brew update && brew install automake libtool; then break 2; else echo Error: wait to try again; sleep 10; fi; done; false Too many retries; done
|
||||
|
||||
- name: 'toolchain versions'
|
||||
run: |
|
||||
echo '::group::brew packages installed'; ls -l /opt/homebrew/opt; echo '::endgroup::'
|
||||
run: echo '::group::brew packages installed'; ls -l /opt/homebrew/opt; echo '::endgroup::'
|
||||
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/hacktoberfest-accepted.yml
vendored
2
.github/workflows/hacktoberfest-accepted.yml
vendored
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||
run: |
|
||||
gh config set prompt disabled && echo "label=$(
|
||||
gh repo view --json repositoryTopics --jq '.repositoryTopics[].name' | grep '^hacktoberfest$')" >> $GITHUB_OUTPUT
|
||||
gh repo view --json repositoryTopics --jq '.repositoryTopics[].name' | grep '^hacktoberfest$')" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Search relevant commit message lines starting with Closes/Merges
|
||||
if: steps.check.outputs.label == 'hacktoberfest'
|
||||
|
|
|
|||
4
.github/workflows/http3-linux.yml
vendored
4
.github/workflows/http3-linux.yml
vendored
|
|
@ -133,8 +133,8 @@ jobs:
|
|||
steps.cache-nghttp3.outputs.cache-hit != 'true' ||
|
||||
steps.cache-ngtcp2.outputs.cache-hit != 'true' ||
|
||||
steps.cache-nghttp2.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
echo 'needs-build=true' >> $GITHUB_OUTPUT
|
||||
|
||||
run: echo 'needs-build=true' >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: 'install build prereqs'
|
||||
if: steps.settings.outputs.needs-build == 'true'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue