GHA: tidy up quotes, checkout order, silence Android/CMake warnings

- move checkout step right before use.
- quotes in yaml and bash.
- unfold single-line run commands.
- set `CMAKE_WARN_DEPRECATED=OFF` for CMake with Android NDK to avoid
  a wall of useless deprecation warnings hiding useful output.
  These warnings happen in 3rd-party scripts, and unfixable in curl.

Closes #16042
This commit is contained in:
Viktor Szakats 2025-01-18 02:30:08 +01:00
parent 08e2cceaf1
commit f1dbe68172
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
8 changed files with 79 additions and 82 deletions

View file

@ -23,4 +23,4 @@ jobs:
steps:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: '${{ secrets.GITHUB_TOKEN }}'