-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to fetch all az cli versions (azure/CLI@v2) #153
Comments
Hi @MeikeMertschFortum, are you using a GitHub-hosted runner or a self-hosted one? It seems there may be an internet interruption on your machine. Does the problem persist after rerunning the workflow, and is the output consistent each time? |
It is on a self-hosted runner and I have it in every run that reaches this point |
I am testing now if it disappears on rerun specifically, but it will take a while. I will report back once it is done. |
Could you add this step before azure/cli@v2 to see if it fails? - run: curl --location -s https://mcr.microsoft.com/v2/azure-cli/tags/list |
Yes, let me try that. I'll report back |
hm. it is successful. Raw Logs
otherwise it copied like this: Directly copied from log stream
and despite that, I get the exact same warning: Warning from the run summary
EDIT: Many thanks to @luc122c to introduce me to the markdown |
note that in the warning message the json is actually invalid and looks cut off, missing this bit:
|
I'm getting the same issue on GitHub hosted runners: Output log
|
@MeikeMertschFortum, @luc122c, the error message was cut off. I've updated the code and replaced the - name: Azure CLI script
uses: azure/cli@fix-153
with:
inlineScript: |
az --version |
I tried this and on my end it does the trick! Thanks |
When using
azure/CLI@v2
inside a GHA workflow , I got the message (copied with links unfolded):So here I am reporting it as an issue 🙂
The text was updated successfully, but these errors were encountered: