From efa21f5ed227eff4b1ddb7c3783c3becabce0e2e Mon Sep 17 00:00:00 2001 From: Anna Levenberg Date: Mon, 6 Nov 2023 15:31:56 -0500 Subject: [PATCH] try --- .github/workflows/update-googleapis-sha.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update-googleapis-sha.yml b/.github/workflows/update-googleapis-sha.yml index eb18dccf2df61..11466b7a3a107 100644 --- a/.github/workflows/update-googleapis-sha.yml +++ b/.github/workflows/update-googleapis-sha.yml @@ -38,13 +38,11 @@ jobs: echo "COMMIT=$(curl -fsSL -H 'Accept: application/vnd.github.VERSION.sha' 'https://api.github.com/repos/${{ env.REPO }}/commits/${{ env.BRANCH}}')" >> $GITHUB_ENV - name: Get SHA for google apis run: | - DOWNLOADS=$(mktemp -d) - echo ${DOWNLOADS} - curl -fsSL "https://github.com/${{ env.REPO }}/archive/${{ env.COMMIT }}.tar.gz" -o "${DOWNLOADS}" - gsutil -q cp "${DOWNLOADS}" "gs://cloud-cpp-community-archive/com_google_googleapis/${{ env.COMMIT }}.tar.gz" - echo 'SHA256=$(sha256sum "${DOWNLOADS}" | sed "s/ .*//")' >> $GITHUB_ENV - rm -rf ${DOWNLOADS} - - name: Run the `renovate.sh` script + DOWNLOAD="$(mktemp)" + curl -fsSL "https://github.com/${{ env.REPO }}/archive/${{ env.COMMIT }}.tar.gz" -o "${DOWNLOAD}" + gsutil -q cp "${DOWNLOAD}" "gs://cloud-cpp-community-archive/com_google_googleapis/${{ env.COMMIT }}.tar.gz" + echo 'SHA256=$(sha256sum "${DOWNLOAD}" | sed "s/ .*//")' >> $GITHUB_ENV + rm -rf ${DOWNLOAD} run: TERM=xterm ./external/googleapis/renovate.sh env: SHA256: ${{ vars.SHA256 }}