Skip to content

Releases: Azure/cli

GitHub Action for Azure CLI v1.0.5

Choose a tag to compare

@t-dedah t-dedah released this 10 Nov 13:25
37ee7d1

Resolved compatibility issues between az cli version on agent and container.

cli@v1.0.4

Choose a tag to compare

@kanika1894 kanika1894 released this 27 Nov 11:11
  1. Adding support for using env. variables via GITHUB_ENV
  2. Security vulnerability fix

GitHub Action for Azure CLI v1.0.3

Choose a tag to compare

@jalajmsft jalajmsft released this 04 Feb 09:19
c34f2e3

User-defined environment variables present in the workflow are now accessible while execution of Azure CLI script.

GitHub Action for Azure CLI v1.0.2

Choose a tag to compare

@jalajmsft jalajmsft released this 06 Jan 11:36
5dad25e

Default environment variables provided by GitHub are now accessible while execution of Azure CLI script. Environment variables with prefix GITHUB_* are accessible during the script execution.

GitHub Action for Azure CLI v1.0.1

Choose a tag to compare

@jalajmsft jalajmsft released this 22 Nov 05:52
4d518c1

GITHUB_SHA default environment variable is available to use in the script.

GitHub Action for Azure CLI v1.0.0

Choose a tag to compare

@bishal-pdMSFT bishal-pdMSFT released this 12 Nov 12:42
4d518c1

Azure CLI GitHub Action enables you to automate your Action workflow by executing Azure CLI commands to manage Azure resources inside of an Action.

Sample workflow

Dependencies on other GitHub Actions

  • Azure LoginRequired Login with your Azure credentials
  • CheckoutOptional To execute the scripts present in your repository

Workflow to execute an AZ CLI script of a specific CLI version

# File: .github/workflows/workflow.yml

on: [push]

name: AzureCLISample

jobs:

  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
    
    - name: Azure Login
      uses: azure/login@v1
      with:
        creds: ${{ secrets.AZURE_CREDENTIALS }}
    
    - name: Azure CLI script
      uses: azure/CLI@v1
      with:
        azcliversion: 2.0.72
        inlineScript: |
          az account show
          az storage -h

This is released under MIT License

GitHub Action for Azure CLI v0-beta

Pre-release

Choose a tag to compare

@jalajmsft jalajmsft released this 01 Nov 11:56

With Azure CLI GitHub Action, you can automate your workflow by executing Azure CLI commands to manage Azure resources inside of an Action.