Skip to content

Commit

Permalink
💚 Fix release.yml
Browse files Browse the repository at this point in the history
Signed-off-by: palexdev <[email protected]>
  • Loading branch information
palexdev committed Jun 7, 2024
1 parent 303f78f commit a5c8232
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@ on:
- completed

jobs:
# Jobs will run only and only if the build action was successful
check-build:
# Only if the build action was successful
# Only if last commit contains [RELEASE]
check:
runs-on: windows-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}

# Only commits containing [RELEASE] will trigger this action
check-commit:
runs-on: windows-latest
needs: check-build
steps:
- name: Checkout code
- uses: actions/checkout@v3
uses: actions/checkout@v3

- name: Get Last Commit
run: |
Expand Down Expand Up @@ -56,7 +52,7 @@ jobs:

steps:
- name: Checkout code
- uses: actions/checkout@v3
uses: actions/checkout@v3

- name: Set up JDK 21
uses: actions/setup-java@v3
Expand Down

0 comments on commit a5c8232

Please sign in to comment.