diff --git a/README.md b/README.md index 76620e4..66fc164 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,12 @@ Acceptable values are latest or any semantic version string like v3.5.0 Use this - uses: azure/setup-helm@v3 with: version: '' # default is latest (stable) - token: ${{ secrets.GITHUB_TOKEN }} # only needed if version is 'latest' id: install ``` -> Note: When using latest version you might hit the GitHub GraphQL API hourly rate limit of 5,000. The action will then return the hardcoded default stable version (currently v3.13.3). If you rely on a certain version higher than the default, you should use that version instead of latest. +> [!NOTE] +> When using latest version the action will try to resolve version tag from latest Helm release. If it fails, will return the hardcoded default stable version (currently v3.13.3). +> If you rely on a certain version higher than the default, you should use that version instead of latest. The cached helm binary path is prepended to the PATH environment variable as well as stored in the helm-path output variable. Refer to the action metadata file for details about all the inputs https://github.com/Azure/setup-helm/blob/master/action.yml diff --git a/action.yml b/action.yml index cd0c99c..12e6904 100644 --- a/action.yml +++ b/action.yml @@ -6,8 +6,9 @@ inputs: required: true default: 'latest' token: - description: GitHub token. Required only if 'version' == 'latest' + description: GitHub token. required: false + deprecationMessage: 'This input is deprecated. Action does not require a token anymore.' downloadBaseURL: description: 'Set the download base URL' required: false @@ -18,5 +19,5 @@ outputs: branding: color: 'blue' runs: - using: 'node16' + using: 'node20' main: 'lib/index.js'