From 735433e1d3e2179d9aa1de6126be4a1445c37f8e Mon Sep 17 00:00:00 2001 From: Anna Levenberg Date: Mon, 6 Nov 2023 15:26:58 -0500 Subject: [PATCH] try --- .github/workflows/update-googleapis-sha.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-googleapis-sha.yml b/.github/workflows/update-googleapis-sha.yml index 0670925222600..dba21f4d76077 100644 --- a/.github/workflows/update-googleapis-sha.yml +++ b/.github/workflows/update-googleapis-sha.yml @@ -36,13 +36,13 @@ jobs: - name: Get SHA for google apis run: | echo "COMMIT=$(curl -fsSL -H 'Accept: application/vnd.github.VERSION.sha' 'https://api.github.com/repos/${{ env.REPO }}/commits/${{ env.BRANCH}}')" >> $GITHUB_ENV - - name: Make a temp directory - run: echo "DOWNLOADS=$(mktemp -d)" >> $GITHUB_ENV - name: Get SHA for google apis run: | - curl -fsSL "https://github.com/${{ env.REPO }}/archive/${{ env.COMMIT }}.tar.gz" -o "${{ env.DOWNLOADS }}" - gsutil -q cp "${{ env.DOWNLOADS }}" "gs://cloud-cpp-community-archive/com_google_googleapis/${{ env.COMMIT }}.tar.gz" - echo 'SHA256=$(sha256sum "${{ env.DOWNLOADS }}" | sed "s/ .*//")' >> $GITHUB_ENV + DOWNLOADS=$(mktemp -d) + 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 run: TERM=xterm ./external/googleapis/renovate.sh env: