Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
alevenberg committed Nov 6, 2023
1 parent e4566ec commit 735433e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-googleapis-sha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 735433e

Please sign in to comment.