diff --git a/.github/workflows/update-googleapis-sha.yml b/.github/workflows/update-googleapis-sha.yml index 90428249e7d92..716d1a897ae12 100644 --- a/.github/workflows/update-googleapis-sha.yml +++ b/.github/workflows/update-googleapis-sha.yml @@ -38,9 +38,9 @@ jobs: echo "COMMIT=$(curl --retry 5 -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: | - curl -fsSL "https://github.com/${{ env.REPO }}/archive/${{ env.COMMIT }}.tar.gz" -o "${{ runner.temp }}" - gsutil -q cp "${{ runner.temp }}" "gs://cloud-cpp-community-archive/com_google_googleapis/${{ env.COMMIT }}.tar.gz" - echo 'SHA256=$(sha256sum "${{ runner.temp }}" | sed "s/ .*//")' >> $GITHUB_ENV + curl -fsSL "https://github.com/${{ env.REPO }}/archive/${{ env.COMMIT }}.tar.gz" -o "${{ runner.temp }}" + gsutil -q cp "${{ runner.temp }}" "gs://cloud-cpp-community-archive/com_google_googleapis/${{ env.COMMIT }}.tar.gz" + echo 'SHA256=$(sha256sum "${{ runner.temp }}" | sed "s/ .*//")' >> $GITHUB_ENV - name: Run the `renovate.sh` script run: TERM=xterm ./external/googleapis/renovate.sh env: