Resolve push source archive from repository root (#19231)

This commit is contained in:
Jinwoo Hong
2026-09-07 03:04:19 -04:00
committed by GitHub
parent e4770d712f
commit a62cfedad8
+2 -1
View File
@@ -70,7 +70,8 @@ jobs:
git fetch --no-tags origin "${SOURCE_SHA}"
test "$(git rev-parse FETCH_HEAD)" = "${SOURCE_SHA}"
mkdir -p "${RUNNER_TEMP}/push-source"
git archive "${SOURCE_SHA}" cloud | tar -x -C "${RUNNER_TEMP}/push-source"
git -C "${GITHUB_WORKSPACE}" archive "${SOURCE_SHA}" cloud \
| tar -x -C "${RUNNER_TEMP}/push-source"
- uses: google-github-actions/auth@v2
with: