mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
* Create symlink for test running * Fix 1604 and 2004 templates * Fix php and haskell running * Minor fix * Fix new added tests * Fix symlink * Minor fix * Fix script permissions * Minor fix * Fix firefox and rust tests * Fix new merged tests
16 lines
597 B
Bash
16 lines
597 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: github-cli.sh
|
|
## Desc: Installs GitHub CLI
|
|
## Must be run as non-root user after homebrew
|
|
################################################################################
|
|
|
|
|
|
# Install GitHub CLI
|
|
url=$(curl -s https://api.github.com/repos/cli/cli/releases/latest | jq -r '.assets[].browser_download_url|select(contains("linux") and contains("amd64") and contains(".deb"))')
|
|
wget $url
|
|
apt install ./gh_*_linux_amd64.deb
|
|
rm gh_*_linux_amd64.deb
|
|
|
|
invoke_tests "CLI.Tools" "GitHub CLI"
|