Skip to content

Commit

Permalink
Try to ensure that distribution always has a non-empty value
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Sep 18, 2024
1 parent 6d8a421 commit dc72e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/prepare-gradle-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
- name: Set Up Java
uses: actions/setup-java@v4
with:
distribution: ${{ inputs.java-early-access == 'true' && 'temurin' || inputs.java-distribution }}
distribution: ${{ inputs.java-early-access == 'true' && 'temurin' || (inputs.java-distribution || 'liberica') }}
java-version: |
${{ inputs.java-early-access == 'true' && format('{0}-ea', inputs.java-version) || inputs.java-version }}
${{ inputs.java-toolchain == 'true' && '17' || '' }}
Expand Down

0 comments on commit dc72e38

Please sign in to comment.