Difference between revisions of "GitHub Actions runs-on:"
Jump to navigation
Jump to search
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
* https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on | * https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idruns-on | ||
+ | runs-on: [[ubuntu-latest]] | ||
+ | runs-on: [[windows-latest]] | ||
+ | runs-on: [[macos-latest]] | ||
+ | runs-on: [[macos-11]] | ||
+ | runs-on: [[self-hosted]] | ||
+ | |||
+ | |||
+ | runs-on: [your-self-hosted-label, your-other-self-hosted-label] | ||
+ | |||
+ | [[macos-latest-xl]] | ||
+ | [[macos-12-xl]] | ||
+ | [[macos-13-xl]] | ||
+ | |||
+ | |||
+ | {{run ex}} | ||
+ | |||
+ | == Related == | ||
+ | * [[GitHub Actions:]] <code>[[on:]]</code> | ||
+ | * [[GitHub Actions:]] <code>[[GitHub Actions: jobs:|jobs:]]</code> | ||
+ | * [[Azure Pipelines]]: <code>[[Azure Pipelines: trigger:|trigger]]</code> | ||
+ | * [[GitHub Actions virtual-environments]] | ||
+ | * <code>[[permissions:]]</code> | ||
+ | * [[GitHub self hosted runner]] | ||
+ | * <code>[[GitLab CI, environment:|environment:]]</code> | ||
== See also == | == See also == | ||
+ | * {{runs-on}} | ||
* {{GitHub Actions}} | * {{GitHub Actions}} | ||
[[Category:GitHub]] | [[Category:GitHub]] |
Latest revision as of 10:13, 21 October 2024
runs-on: ubuntu-latest runs-on: windows-latest runs-on: macos-latest
runs-on: macos-11 runs-on: self-hosted
runs-on: [your-self-hosted-label, your-other-self-hosted-label]
macos-latest-xl macos-12-xl macos-13-xl
jobs: my_build: runs-on: ubuntu-latest steps: - name: Checking out our code uses: actions/checkout@master - name: Say something run: | echo "A little less ${message}" echo "A little more action"
Related[edit]
- GitHub Actions:
on:
- GitHub Actions:
jobs:
- Azure Pipelines:
trigger
- GitHub Actions virtual-environments
permissions:
- GitHub self hosted runner
environment:
See also[edit]
- runs-on:
ubuntu-latest, macos-latest, windows-latest
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
Advertising: