Hello everyone!
Recently, we have published actions/setup-java@v2-preview with support of Zulu and Adopt distributions.
We are going to make the stable release and push v2-preview changes on main on 5 April 2021.
It won't affect customers who pin on specific tag of action like actions/setup-java@v1 or actions/setup-java@1.1.0 but it will break customers who pin their workflows to actions/setup-java@main. Workflows will be broken because V2 has required input distribution. According to GitHub Actions documentation, it is not recommended to pin workflow to main branch.
To mitigate the issue, we suggest pinning your workflow to actions/setup-java@v1.
Hello everyone!
Recently, we have published actions/setup-java@v2-preview with support of Zulu and Adopt distributions.
We are going to make the stable release and push
v2-previewchanges onmainon 5 April 2021.It won't affect customers who pin on specific tag of action like
actions/setup-java@v1oractions/setup-java@1.1.0but it will break customers who pin their workflows toactions/setup-java@main. Workflows will be broken because V2 has required inputdistribution. According to GitHub Actions documentation, it is not recommended to pin workflow to main branch.To mitigate the issue, we suggest pinning your workflow to
actions/setup-java@v1.