Skip to content

Commit

Permalink
java version variable
Browse files Browse the repository at this point in the history
  • Loading branch information
BLCK-B authored Aug 16, 2024
1 parent 44855f4 commit c9a4283
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-then-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
branches: [ "*" ]

env:
JAVA_VERSION: '22'

jobs:
gradle-test-build:
runs-on: ubuntu-latest
Expand All @@ -14,7 +17,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '21'
java-version: ${{ env.JAVA_VERSION }}
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
Expand Down

0 comments on commit c9a4283

Please sign in to comment.