Skip to content

Commit

Permalink
Use oracle distro for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsromero committed Sep 25, 2023
1 parent 9b3f244 commit 0fb1be2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,22 @@ jobs:
- '21'
distribution:
- 'temurin'
- 'open'
- 'oracle'
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- if: (matrix.java == '21' && matrix.distribution == 'oracle') || ((matrix.java == '11' || matrix.java == '17') && matrix.distribution == 'temurin')
uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-java@v3
- if: (matrix.java == '21' && matrix.distribution == 'oracle') || ((matrix.java == '11' || matrix.java == '17') && matrix.distribution == 'temurin')
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
- if: (matrix.java == '21' && matrix.distribution == 'open') || ((matrix.java == '11' || matrix.java == '17') && matrix.distribution == 'temurin')
- if: (matrix.java == '21' && matrix.distribution == 'oracle') || ((matrix.java == '11' || matrix.java == '17') && matrix.distribution == 'temurin')
name: Build
run: |
./gradlew -S -Pskip.signing assemble
Expand Down

0 comments on commit 0fb1be2

Please sign in to comment.