Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 913 Bytes

File metadata and controls

19 lines (14 loc) · 913 Bytes

Running on a different operating system

The starter workflow template configures jobs to run on Linux, using the {% data variables.product.prodname_dotcom %}-hosted ubuntu-latest runners. You can change the runs-on key to run your jobs on a different operating system. For example, you can use the {% data variables.product.prodname_dotcom %}-hosted Windows runners.

{% raw %}

runs-on: windows-latest

{% endraw %}

Or, you can run on the {% data variables.product.prodname_dotcom %}-hosted macOS runners.

{% raw %}

runs-on: macos-latest

{% endraw %}

You can also run jobs in Docker containers, or you can provide a self-hosted runner that runs on your own infrastructure. For more information, see "Workflow syntax for {% data variables.product.prodname_actions %}."