mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 23:29:41 +02:00
GH Actions: Move step to get vcpkg commit where it is needed
Moving this closer to where it is used makes the workflow easier to read. Signed-off-by: Be <be@mixxx.org> Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com> Reference-to: https://github.com/tenacityteam/tenacity/pull/592
This commit is contained in:
parent
ecf9c9d430
commit
74574fe60a
6
.github/workflows/cmake_build.yml
vendored
6
.github/workflows/cmake_build.yml
vendored
@ -88,9 +88,6 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Get Git commit of vcpkg submodule
|
||||
run: echo VCPKG_COMMIT=$(git ls-tree HEAD vcpkg | awk '{print $3}') >> ${GITHUB_ENV}
|
||||
|
||||
- name: Setup platform specific environmental variables
|
||||
run: |
|
||||
if [[ "${{runner.os}}" == "Windows" ]]; then
|
||||
@ -193,6 +190,9 @@ jobs:
|
||||
iwr -useb get.scoop.sh | iex
|
||||
scoop install sccache
|
||||
|
||||
- name: Get Git commit of vcpkg submodule
|
||||
run: echo VCPKG_COMMIT=$(git ls-tree HEAD vcpkg | awk '{print $3}') >> ${GITHUB_ENV}
|
||||
|
||||
# Cache the vcpkg cache and the vcpkg executable to avoid bootstrapping each time
|
||||
- name: Setup vcpkg cache
|
||||
uses: actions/cache@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user