Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.23 KB

README.md

File metadata and controls

62 lines (45 loc) · 1.23 KB

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.