Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
alevenberg committed Nov 6, 2023
1 parent 1d4b433 commit ce59c8e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/update-googleapis-sha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ jobs:
- name: Get SHA for google apis
run: |
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
- 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 "${{ 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 "${{ 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
- name: Run the `renovate.sh` script
run: TERM=xterm ./external/googleapis/renovate.sh
env:
Expand Down

0 comments on commit ce59c8e

Please sign in to comment.