[Ubuntu 20] Add docker-moby, sbt, github-cli, prepare toolcache directory (#1002)

* add docker-moby,sbt,github-cli toolcache ruby, pypy

* remove toolcache

* add agentoolsdirectory

* remove toolcache and toolset files

* move directory creation for all Ubuntus'
This commit is contained in:
Mikhail Timofeev
2020-06-04 15:09:41 +03:00
committed by GitHub
parent 85331140fc
commit 76b6fce397
4 changed files with 31 additions and 20 deletions

View File

@@ -12,11 +12,6 @@ set -e
TOOLCACHE_REGISTRY="npm.pkg.github.com"
AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
mkdir $AGENT_TOOLSDIRECTORY
echo "AGENT_TOOLSDIRECTORY=$AGENT_TOOLSDIRECTORY" | tee -a /etc/environment
chmod -R 777 $AGENT_TOOLSDIRECTORY
echo "Configure npm to use github package registry for '@actions' scope"
npm config set @actions:registry "https://${TOOLCACHE_REGISTRY}"