1
0
mirror of synced 2026-01-05 12:07:35 -05:00
Files
docs/translations/ru-RU/data/reusables/github-actions/example-github-runner.md
Vanessa Yuen 3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00

20 lines
933 B
Markdown

### Running on a different operating system
The starter workflow template configures jobs to run on Linux, using the {{ site.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 {{ site.data.variables.product.prodname_dotcom }}-hosted Windows runners.
{% raw %}
```yaml
runs-on: windows-latest
```
{% endraw %}
Or, you can run on the {{ site.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 {{ site.data.variables.product.prodname_actions }}](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on)."