Skip to content

Commit

Permalink
add distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
not-coded committed Nov 22, 2024
1 parent 2b7e3c0 commit d6e6a27
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
@@ -26,6 +30,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.temurin }}
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
@@ -36,4 +41,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: build/libs/
path: build/libs/

0 comments on commit d6e6a27

Please sign in to comment.