Acceptable values are latest or any semantic version string like 1.15.0. Use this action in workflow to define which version of kubectl will be used.
- uses: azure/k8s-actions/setup-kubectl@master
with:
version: '<version>' # default is latest stable
id: install
Refer to the action metadata file for details about all the inputs https://github.com/Azure/k8s-actions/blob/master/setup-kubectl/action.yml