Update workflow to address warnings

- Upgrades actions using Node.js 12 to versions using Node.js 16.
- Updates deprecated set-output command.
- Specifies more specific version of CMake on macOS runner.
This commit is contained in:
Leroy Hopson 2023-01-11 07:00:10 +13:00
parent 76e2b8375e
commit 1d0c61214a
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
2 changed files with 23 additions and 20 deletions

View file

@ -23,7 +23,7 @@ runs:
libtsm_rev=$(git ls-tree HEAD libtsm --object-only)
hash_cmd=$([[ $RUNNER_OS == 'Windows' ]] && echo 'sha1sum' || echo 'shasum')
hash_of_hashes=$(echo -n "$godot_cpp_rev$libuv_rev$libtsm_rev$cache_version" | $hash_cmd | head -c 40)
echo "::set-output name=hash::$hash_of_hashes"
echo "name=hash::$hash_of_hashes" >> $GITHUB_OUTPUT
- name: Cache submodules
uses: actions/cache@v3
id: cache