mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
14 lines
664 B
YAML
14 lines
664 B
YAML
name: "Setup Azure CLI"
|
|
description: "Installs the latest Azure CLI version"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- run: |
|
|
sudo apt-get install -y ca-certificates curl apt-transport-https lsb-release gnupg
|
|
curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/microsoft.gpg > /dev/null
|
|
AZ_REPO=$(lsb_release -cs)
|
|
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
|
|
sudo apt-get update
|
|
sudo apt-get install -y azure-cli
|
|
shell: bash
|