Skip to content

Commit

Permalink
specify distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
not-coded committed Nov 22, 2024
1 parent 9f6b890 commit fe6773a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ jobs:
build:
strategy:
matrix:
# Use these Java versions
java: [
21,
]
# and run on both Linux and Windows

distribution: [
"temurin",
]

os: [ubuntu-20.04, windows-2022]

runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
Expand All @@ -26,6 +30,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
Expand Down

0 comments on commit fe6773a

Please sign in to comment.