mirror of
https://github.com/php-win-ext/setup-php-sdk.git
synced 2026-03-24 09:02:18 +01:00
33 lines
949 B
YAML
33 lines
949 B
YAML
name: 'Setup PHP-SDK Action'
|
|
description: "Setup Windows build environment for PHP extensions"
|
|
inputs:
|
|
version:
|
|
description: "PHP version to build for"
|
|
required: true
|
|
arch:
|
|
description: "The architecture to build for (x64 or x86)"
|
|
required: true
|
|
ts:
|
|
description: "Thread-safety (nts or ts)"
|
|
required: true
|
|
deps:
|
|
description: "List of dependency libraries"
|
|
required: false
|
|
default: '@()'
|
|
outputs:
|
|
toolset:
|
|
description: "The required toolset version"
|
|
value: ${{steps.setup.outputs.toolset}}
|
|
prefix:
|
|
description: "The prefix of the PHP installation"
|
|
value: ${{steps.setup.outputs.prefix}}
|
|
vs:
|
|
description: "The Visual Studio version"
|
|
value: ${{steps.setup.outputs.vs}}
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- id: setup
|
|
run: ${{github.action_path}}/run -version ${{inputs.version}} -arch ${{inputs.arch}} -ts ${{inputs.ts}} -deps ${{inputs.deps}}
|
|
shell: powershell
|