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 committed Sep 25, 2024
1 parent 4ab967e commit 6039d4b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/add-flaky-test-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ jobs:
if: ${{ hashFiles('**/pr-number') != '' }}
run: |
gh pr edit "$(cat pr-number)" --add-label 'triage/flaky-test'
- name: Install JDK 17 for JBang
uses: actions/setup-java@v4
if: ${{ hashFiles('**/pr-number') != '' }}
with:
distribution: 'temurin'
java-version: 17
check-latest: true
cache: 'maven'
- name: 'Comment on PR about flaky tests'
if: ${{ hashFiles('**/pr-number') != '' }}
run: |
Expand Down

0 comments on commit 6039d4b

Please sign in to comment.