Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork405
How to install on Microsoft Hosted Action Runners?#727
-
I am trying to install PHP8.2 on Ubuntu 22 Microsoft hosted (Azure) action runner. This YAML code fails on the line What am I doing wrong? |
BetaWas this translation helpful?Give feedback.
All reactions
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.2steps: -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
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
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.2steps: -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" |
BetaWas this translation helpful?Give feedback.
All reactions
-
This worked, thank you very much |
BetaWas this translation helpful?Give feedback.