- Install Ubuntu 18.04 server
- Follow github instructions to add a runner by going to a repository settings and creating a new self-hosted runner
- Edit the yml file to start a first run on it (which will probably fail due to lacking build tools)
sudo snap install dotnet-sdk --classic --channel=6.0
sudo snap alias dotnet-sdk.dotnet dotnet
Took these instructions from https://medium.com/@alperonline/how-to-install-dotnet-6-to-ubuntu-154a9010fa9d
sudo apt update
to update the packages (again)sudo apt install dirmngr gnupg apt-transport-https ca-certificates
installs the necessery packagessudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sets up the mono repository keyssudo sh -c 'echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" > /etc/apt/sources.list.d/mono-official-stable.list'
adds the mono repository to the system sourcessudo apt update
updates the packages after we have that new repositorysudo apt install mono-complete
actually installs monomono --version
verifies the installation went fine
Took these instructions from https://linuxize.com/post/how-to-install-mono-on-ubuntu-18-04/
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
to add the repositorysudo apt-get install -y nodej
to run the installnpm -v
to verify it installed
Took these instructions from https://github.com/nodesource/distributions/blob/master/README.md
The actions yml files need to be updated to remove the action/cache as this is useless on a self-hosted runner as the npm/nuget packages will be cached already by the operating system.