Skip to content

Commit

Permalink
add verification
Browse files Browse the repository at this point in the history
  • Loading branch information
cru-Luis-Rodriguez committed Oct 25, 2024
1 parent 4d33468 commit 9ef3c37
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-deploy-cloudrun-function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ jobs:
id: build-number
run: echo "build-number=$(git rev-parse --short=7 ${{ github.sha }})" >> $GITHUB_OUTPUT

- name: Verify Build Number
run: |
if [ -z "${{ steps.build-number.outputs.build-number }}" ]; then
echo "Build number is empty"
exit 1
fi
build-and-deploy:
runs-on: ubuntu-latest
needs: build-number
Expand Down

0 comments on commit 9ef3c37

Please sign in to comment.