This commit is contained in:
potzplitz 2024-03-05 09:05:43 +01:00
parent 59c6650539
commit d374a3bd50

View file

@ -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