1
0
mirror of synced 2025-12-26 05:02:55 -05:00
Files
docs/data/reusables/github-actions/example-github-runner.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

20 lines
913 B
Markdown

### 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 %}
```yaml
runs-on: windows-latest
```
{% endraw %}
Or, you can run on the {% data variables.product.prodname_dotcom %}-hosted macOS runners.
{% raw %}
```yaml
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 %}](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on)."