Skip to content

snow-actions/list-github-hosted-runners

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

List GitHub-hosted runners

Test

List active GitHub-hosted runners.

Usage

jobs:
  runners:
    runs-on: ubuntu-latest
    outputs:
      list: ${{ steps.list.outputs.all }}
    steps:
      - id: list
        uses: snow-actions/[email protected]

  test:
    needs: [ runners ]
    strategy:
      fail-fast: false
      matrix:
        runner: ${{ fromJSON(needs.runners.outputs.list) }}
    runs-on: ${{ matrix.runner }}

Outputs

See action.yml

Name Description
all All runners
latest Latest runners
ubuntu Ubuntu runners
windows Windows runners
macos macOS runners

Supported

Runners

  • ubuntu-*
  • windows-*
  • macos-*
  • self-hosted

Events

  • Any

Dependencies

Contributing

Welcome.