Skip to content

Releases: Azure/cli

GitHub Action for Azure CLI v1.0.2

06 Jan 11:36
5dad25e
Compare
Choose a tag to compare

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

22 Nov 05:52
4d518c1
Compare
Choose a tag to compare

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

GitHub Action for Azure CLI v1.0.0

12 Nov 12:42
4d518c1
Compare
Choose a tag to compare

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

01 Nov 11:56
Compare
Choose a tag to compare
Pre-release

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