Bug: kubectl for amd64 was not found
- Dominant language
- TypeScript
- Stars
- 158
- Forks
- 72
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 3
Description
### What happened?
I'm running the following step on my github workflow and got an error telling that the version '1.28.2' for 'amd64' was not found.
```
- name: install kubectl
uses: azure/setup-kubectl@v3
```
i've tried to downgrade the version adding the following, but got the same error:
```
with:
version: '1.28.2'`
```
The error is strange because reaching the download link locally on my machine works correctly.
### Version
- [X] I am using the latest version
### Runner
ubuntu-latest
### Relevant log output
```
##[debug]Evaluating condition for step: 'install kubectl'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: install kubectl
##[debug]Loading inputs
##[debug]Loading env
Run azure/setup-kubectl@v3
##[debug]Downloading https://storage.googleapis.com/kubernetes-release/release/stable.txt
##[debug]Destination /home/runner/work/_temp/8ed25fc3-ddb3-4b8b-847a-244571e4a0e9
##[debug]download complete
##[debug]isExplicit: 1.28.3
##[debug]explicit? true
##[debug]checking cache: /opt/hostedtoolcache/kubectl/1.28.3/x64
##[debug]not found
##[debug]Downloading https://dl.k8s.io/release/v1.28.3/bin/linux/amd64/kubectl
##[debug]Destination /home/runner/work/_temp/50d81c8f-95cc-4889-8d7a-ab8d1a2da771
##[debug]Failed to download from "https://dl.k8s.io/release/v1.28.3/bin/linux/amd64/kubectl". Code(404) Message(Not Found)
Error: Error: Kubectl 'v1.28.3' for 'amd64' arch not found.
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: install kubectl
```

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.