Skip to content

Commit

Permalink
Move Go Build schema modification check to a different step
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanKanojia authored and manusa committed Mar 1, 2021
1 parent 4547b04 commit ddd2978
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
- name: Build Project
run: |
./kubernetes-model-generator/generateModelDocker.sh
- name: Check No Schema file modified
run: |
git status
MODIFIED_KUBE_SCHEMA=`git status | grep kube-schema.json | wc -l`
if [ $MODIFIED_KUBE_SCHEMA -eq "0" ]; then
Expand Down

0 comments on commit ddd2978

Please sign in to comment.