Skip to content

Commit

Permalink
chore(github): use global var for java version
Browse files Browse the repository at this point in the history
  • Loading branch information
ybw0014 committed Nov 11, 2024
1 parent ec2cf9d commit 8d06c9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/blob-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
java-version: ${{ vars.BUILDS_JAVA_VERSION }}
distribution: temurin

- name: Validate Gradle wrapper
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 17
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
java-version: ${{ vars.BUILDS_JAVA_VERSION }}
distribution: temurin

- name: Validate Gradle wrapper
Expand Down

0 comments on commit 8d06c9e

Please sign in to comment.