Skip to content

Commit

Permalink
Setup Java for JBang purposes in Flaky test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvavrik authored and rsvoboda committed Sep 26, 2024
1 parent ac2cba4 commit 8387845
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/add-flaky-test-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
if: ${{ hashFiles('**/pr-number') != '' }}
run: |
gh pr edit "$(cat pr-number)" --add-label 'triage/flaky-test'
- name: Install JDK 21 for JBang
uses: actions/setup-java@v4
if: ${{ hashFiles('**/pr-number') != '' }}
with:
distribution: 'temurin'
java-version: 21
check-latest: true
- name: 'Comment on PR about flaky tests'
if: ${{ hashFiles('**/pr-number') != '' }}
run: |
Expand Down

0 comments on commit 8387845

Please sign in to comment.