df
This commit is contained in:
parent
59c6650539
commit
d374a3bd50
1 changed files with 0 additions and 11 deletions
11
.github/workflows/maven.yml
vendored
11
.github/workflows/maven.yml
vendored
|
@ -11,17 +11,6 @@ jobs:
|
|||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Check for [release] in commit message
|
||||
id: check_release
|
||||
run: |
|
||||
if echo "${{ github.event.head_commit.message }}" | grep -q "\[release\]"; then
|
||||
echo "Release tag found in commit message, proceeding with the workflow..."
|
||||
echo "::set-output name=proceed::true"
|
||||
else
|
||||
echo "Release tag not found in commit message, stopping the workflow..."
|
||||
echo "::set-output name=proceed::false"
|
||||
fi
|
||||
|
||||
- name: Set up JDK 17
|
||||
if: steps.check_release.outputs.proceed == 'true'
|
||||
uses: actions/setup-java@v3
|
||||
|
|
Loading…
Reference in a new issue