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 2daa43f commit 9e1044e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/update-googleapis-sha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,20 @@ jobs:
service_account: '${{ secrets.SA_EMAIL }}'
- name: 'Set up Cloud SDK'
uses: google-github-actions/setup-gcloud@v1
with:
version: '>= 390.0.0'
- 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: 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:
SHA256: ${{ vars.SHA256 }}
SHA256: ${{ vars.SHA256 }}
- name: Verify everything compiles with Bazel
run: bazel build //google/cloud/...
- name: Verify everything compiles with CMake
Expand Down

0 comments on commit 9e1044e

Please sign in to comment.