Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chandru-iamneo authored Feb 22, 2024
1 parent ab72321 commit 588d60d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Check Commit Message
run: |
if [[ "${{ github.event.head_commit.message }}" == *"Submit project save commit"* ]]; then
echo 'Submit project save commit executed!'
else
echo 'Commit message does not contain "Submit project save commit". Exiting...'
exit 1
fi
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
Expand Down

0 comments on commit 588d60d

Please sign in to comment.