Azure / cli

Automate your GitHub workflows using Azure CLI scripts
MIT License
124 stars 52 forks source link

The action not yet support Windows Runner #99

Closed thohng closed 1 year ago

thohng commented 1 year ago

For those need to run az cli on Windows Agent/Runner, we just used the alternative batch script/powershell script

- name: Azure login
  if: ${{ success() }}
  uses: azure/login@v1
  with:
    creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Test show Azure login
  if: ${{ success() }}
  run: az account show

- name: Upload to blob storage
  if: ${{ success() }}
  run: az storage blob upload-batch --auth-mode login --account-name storageaccount --destination containerid --destination-path path --source source --pattern *.zip --overwrite --no-progress

https://github.com/Azure/cli/blob/548c3ec692451811afd4a68a596eec087ecfc434/src/main.ts#L19-L22

54 Why is the Azure CLI action only available on Linux based runners?

97 Issue Running az cli inline command on windows agent

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] commented 1 year ago

This issue is idle because it has been open for 14 days with no activity.

t-dedah commented 1 year ago

Thank you for the feedback @thohng. Closing this issue for now. Please reopen if you have any more questions.