mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
* [ubuntu] Cleanup bash scripts * Fix ms-repos lsb_release * Fix install-bicep url * Fix install-nvm
20 lines
763 B
Bash
20 lines
763 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: install-heroku.sh
|
|
## Desc: Install Heroku CLI. Based on instructions found here: https://devcenter.heroku.com/articles/heroku-cli
|
|
################################################################################
|
|
|
|
# add heroku repository to apt
|
|
echo "deb https://cli-assets.heroku.com/channels/stable/apt ./" > /etc/apt/sources.list.d/heroku.list
|
|
|
|
# install heroku's release key for package verification
|
|
curl https://cli-assets.heroku.com/channels/stable/apt/release.key | apt-key add -
|
|
|
|
# install heroku
|
|
apt-get update -y && apt-get install -y heroku
|
|
|
|
# remove heroku's apt repository
|
|
rm /etc/apt/sources.list.d/heroku.list
|
|
|
|
invoke_tests "Tools" "Heroku"
|