Cache CLI version to not fail when release website is unavailable
Currently, action reads the latest version from https://app-updates.agilebits.com/product_history/CLI2, if website is unavailable, the action won't work.
We need to introduce a fallback in case the website is down so action still work.
This is happening now!! 1Password status does not provide any information and CI/CD pipelines are broken!
Hello folks, sorry for this we have identified the issue and the fix will be up shortly.. will let you folks know when to retry your pipelines
A fix has been pushed, please let me know if that has fixed it for you!
Thanks @MOmarMiraj for the status update! Our CI/CD pipeline is working again. It would be really helpful to have fallback for cached version in the CI runner in case this happens again and better communication via 1Password status page.
This is still happening.
Run 1password/install-cli-action@v1
Run /home/runner/_work/_actions/1password/install-cli-action/v1/install-cli.sh
Installing 1Password CLI version: v
curl: (22) The requested URL returned error: 404
Error: Process completed with exit code 22.