Github Hosted VS Self Hostes Questions

I am confused about Github Self hosted Actions.

I was able to install Github Runner on my Linux Machine. it works, however I dont know, how Github is running those actions.


    runs-on: self-hosted

    - uses: actions/checkout@v2
    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1
        dotnet-version: 2.1

on my Linux machine, I dont have anything installed related to dotnet, however SET UP .NET CORE action runs successfully. Does that mean, github is still setting it up the their hosted environment? what if I want to perform all BUILD related tasks on my machine instead of Github Hosted solutuion?


As far as i know Github Action usese Either NodeJS / Docker

Which means it can install any stuff on the go. and the action actions/setup-dotnet will install dotnet when you run the action.

Right, but the question is where does the SETUP runs…on my SELF HOSTED machine, OR on Github hosted Environment?

Hi @highwingers,

Glad to see you in Github Community Forum!

With self-hosted runner, the steps are executed on your machine.
For your ‘setup-dotnet’ action with version 2.1, it installed in below location on your local machine.(use command which dotnet to find the location)

The self-hosted runner application creates a detailed log file for each job that it processes. These files are stored in the _diag directory, and the filename begins with Worker_ . You can check the job log for more info.