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 6883fab commit efa21f5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/update-googleapis-sha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit efa21f5

Please sign in to comment.