Skip to content

Commit

Permalink
Add distribution: 'adopt' to setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Jul 29, 2021
1 parent 7a79c04 commit d9992e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v2.1.0
with:
distribution: 'adopt'
java-version: ${{ matrix.jdk }}
- run: chmod +x gradlew
- run: ./gradlew build --stacktrace --warning-mode all
Expand All @@ -56,6 +57,7 @@ jobs:
- name: Set up Java 11
uses: actions/setup-java@v2.1.0
with:
distribution: 'adopt'
java-version: 11

- name: Build and publish to github
Expand Down

0 comments on commit d9992e6

Please sign in to comment.