File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656 working-directory : " ${{runner.temp}}"
5757 run : |
5858 mkdir -p vcpkg
59- curl -fsSL "https://github.com/microsoft/vcpkg/archive/${{ steps.vcpkg-version.outputs.version } }.tar.gz" |
59+ curl -fsSL "https://github.com/microsoft/vcpkg/archive/${STEPS_VCPKG_VERSION_OUTPUTS_VERSION }.tar.gz" |
6060 tar -C vcpkg --strip-components=1 -zxf -
6161 vcpkg/bootstrap-vcpkg.sh -disableMetrics
62+ env :
63+ STEPS_VCPKG_VERSION_OUTPUTS_VERSION : ${{ steps.vcpkg-version.outputs.version }}
6264 # First compile the code using the identity with access to the build cache
6365 - run : |
6466 env VCPKG_ROOT="${{ runner.temp }}/vcpkg" ci/gha/builds/external-account.sh
Original file line number Diff line number Diff line change 3939 run : |
4040 echo "event=${{ github.event_name }}"
4141 echo "assoc=${{ github.event.pull_request.author_association }}"
42- echo "org=${{ github.organization }}" || true
43- echo "user=${{ github.event.pull_request.user }}" || true
44- echo "user_orgs=${{ github.event.pull_request.user.organizations_url }}" || true
42+ echo "org=${GITHUB_ORGANIZATION}" || true
43+ echo "user=${GITHUB_EVENT_PULL_REQUEST_USER}" || true
44+ echo "user_orgs=${GITHUB_EVENT_PULL_REQUEST_USER_ORGANIZATIONS_URL}" || true
45+ env :
46+ GITHUB_ORGANIZATION : ${{ github.organization }}
47+ GITHUB_EVENT_PULL_REQUEST_USER : ${{ github.event.pull_request.user }}
48+ GITHUB_EVENT_PULL_REQUEST_USER_ORGANIZATIONS_URL : ${{ github.event.pull_request.user.organizations_url }}
4549
4650 pre-flight :
4751 # Save the `ref` of the pull request, so downstream jobs know what to checkout.
Original file line number Diff line number Diff line change 9797 # Using a short name like this avoids the problem in most cases.
9898 mkdir -p 'c:\b' || true
9999 export BAZEL_ROOT='c:\b'
100- export BAZEL_REMOTE_CACHE_RW_MODE=${{ inputs.bazel-cache-mode } }
100+ export BAZEL_REMOTE_CACHE_RW_MODE=${INPUTS_BAZEL_CACHE_MODE }
101101 export EXECUTE_INTEGRATION_TESTS=${{ inputs.execute-integration-tests }}
102102 ci/gha/builds/windows-bazel.sh ${{ matrix.compilation_mode }} ${{ join(matrix.targets, ' ') }}
103+ env :
104+ INPUTS_BAZEL_CACHE_MODE : ${{ inputs.bazel-cache-mode }}
103105 - name : Post Build Disk Space
104106 shell : bash
105107 run : df -m
Original file line number Diff line number Diff line change @@ -225,9 +225,11 @@ jobs:
225225 run : |
226226 cd "${TEMP}"
227227 mkdir -p .build/vcpkg
228- curl -fsSL "https://github.com/microsoft/vcpkg/archive/${{ steps.dynamic.outputs.vcpkg-version } }.tar.gz" |
228+ curl -fsSL "https://github.com/microsoft/vcpkg/archive/${STEPS_DYNAMIC_OUTPUTS_VCPKG_VERSION }.tar.gz" |
229229 tar -C .build/vcpkg --strip-components=1 -zxf -
230230 .build/vcpkg/bootstrap-vcpkg.sh -disableMetrics
231+ env :
232+ STEPS_DYNAMIC_OUTPUTS_VCPKG_VERSION : ${{ steps.dynamic.outputs.vcpkg-version }}
231233 # go/github-actions#gha-bestpractices explains why we use a SHA instead of
232234 # a named version for this runner. We could avoid using this runner with the
233235 # ideas from:
@@ -241,12 +243,15 @@ jobs:
241243 shell : bash
242244 run : |
243245 export VCPKG_ROOT="${TEMP}/.build/vcpkg"
244- export CLOUDSDK_PYTHON="${{ steps.py311.outputs.python-path } }"
246+ export CLOUDSDK_PYTHON="${STEPS_PY311_OUTPUTS_PYTHON_PATH }"
245247 # Put the CMake output in a directory with more space and keep it short
246248 # to avoid running into the MSVC limits.
247249 export CMAKE_OUT='c:\b'
248250 export EXECUTE_INTEGRATION_TESTS=${{ inputs.execute-integration-tests }}
249- ci/gha/builds/windows-cmake.sh ${{ matrix.build_type }} ${{ steps.dynamic.outputs.features }}
251+ ci/gha/builds/windows-cmake.sh ${{ matrix.build_type }} ${STEPS_DYNAMIC_OUTPUTS_FEATURES}
252+ env :
253+ STEPS_PY311_OUTPUTS_PYTHON_PATH : ${{ steps.py311.outputs.python-path }}
254+ STEPS_DYNAMIC_OUTPUTS_FEATURES : ${{ steps.dynamic.outputs.features }}
250255 - name : Post Build Disk Space
251256 shell : bash
252257 run : df -m
You can’t perform that action at this time.
0 commit comments