Skip to content

How to install on Microsoft Hosted Action Runners? #727

Discussion options

You must be logged in to vote

@CxDevLead

Azure pipelines are not supported directly as github actions don't work there.

We do have a wrapper around the action if you want to use it - shivammathur/spc

Although I haven't tested this in Azure Pipelines, it should work

pool:
  vmImage: 'ubuntu-22.04'

variables:
  phpVersion: 8.2

steps:
  - displayName: 'Setup PHP version $(phpVersion)'
    script: |
      curl -sL https://github.com/shivammathur/spc/releases/latest/download/spc -o spc
      chmod +x spc
      sudo mv spc /usr/local/bin/
      spc --php-version "$(phpVersion)" --coverage "none"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CxDevLead
Comment options

Answer selected by CxDevLead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants