1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Files
docs/data/reusables/actions/example-github-runner.md
2022-02-25 15:51:14 +01:00

904 B

Running on a different operating system

The starter workflow 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 %}."