mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
* Add Bicep CLI to Ubuntu images * Use helper download_with_retries * remove bicep from deprecated 16.04 image * formatting Co-authored-by: Marcus Felling <MarcusFelling@microsoft.com>
16 lines
547 B
Bash
16 lines
547 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: bicep.sh
|
|
## Desc: Installs bicep cli
|
|
################################################################################
|
|
|
|
source $HELPER_SCRIPTS/install.sh
|
|
|
|
# Install Bicep CLI
|
|
download_with_retries "https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64" "." "bicep.bin"
|
|
# Mark it as executable
|
|
chmod +x ./bicep.bin
|
|
# Add bicep to PATH (requires admin)
|
|
sudo mv ./bicep.bin /usr/local/bin/bicep
|
|
|
|
invoke_tests "Tools" "Bicep" |