You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had problems with the setup-java input before, but I thought they were resolved. I can't confirm it since I deleted my old GitHub Actions logs.
Nevertheless, with the latest version, I can't prevent the download of JReleaser's preferred Zulu 17 JDK. I tried various combinations with
the setup-java input including empty strings ('', ""), 'false', and "false", but none of those worked.
I had problems with the
setup-java
input before, but I thought they were resolved. I can't confirm it since I deleted my old GitHub Actions logs.Nevertheless, with the latest version, I can't prevent the download of JReleaser's preferred Zulu 17 JDK. I tried various combinations with
the
setup-java
input including empty strings (''
,""
),'false'
, and"false"
, but none of those worked.After some googling, it appears that others have similar problems too:
actions/runner#1173
actions/runner#1483
In general, it looks like the comparison of input with boolean literal should be enclosed in parenthesis. For example, instead of
if: ${{ inputs.setup-java }} == 'true'
it should be
if: ${{ inputs.setup-java == 'true' }}
Alternatively, the parenthesis can be omitted completely, in which case GitHub Actions will add them automatically, as in
if: inputs.setup-java == 'true'
(https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution)Tnx
The text was updated successfully, but these errors were encountered: