|
34 | 34 | default: true
|
35 | 35 | php_common_json:
|
36 | 36 | type: string
|
37 |
| - description: The PHP common json to use |
| 37 | + description: The PHP common json ('["branch"]') |
38 | 38 | required: true
|
39 |
| - default: '["main"]' |
40 | 39 | lapi_client_json:
|
41 | 40 | type: string
|
42 |
| - description: The LAPI client json to use |
| 41 | + description: The LAPI client json ('["branch"]') |
43 | 42 | required: true
|
44 |
| - default: '["main"]' |
45 | 43 | capi_client_json:
|
46 | 44 | type: string
|
47 |
| - description: The CAPI client json to use |
| 45 | + description: The CAPI client json ('["branch"]') |
48 | 46 | required: true
|
49 |
| - default: '["main"]' |
50 | 47 | remediation_engine_json:
|
51 | 48 | type: string
|
52 |
| - description: The Remediation Engine json to use |
| 49 | + description: The Remediation Engine json ('["branch"]') |
53 | 50 | required: true
|
54 |
| - default: '["main"]' |
55 | 51 |
|
56 | 52 | permissions:
|
57 | 53 | contents: read
|
@@ -226,18 +222,18 @@ jobs:
|
226 | 222 | - name: Modify dependencies to use development aliases
|
227 | 223 | run: |
|
228 | 224 | # Bouncer lib
|
229 |
| - composer require crowdsec/common:"dev-${{ steps.set-common-data.outputs.branch }} as 999.999.0" --no-update --working-dir ./${{env.EXTENSION_PATH}} |
230 |
| - composer require crowdsec/lapi-client:"dev-${{ steps.set-lapi-client-data.outputs.branch }} as 999.999.0" --no-update --working-dir ./${{env.EXTENSION_PATH}} |
231 |
| - composer require crowdsec/remediation-engine:"dev-${{ steps.set-remediation-engine-data.outputs.branch }} as 999.999.0" --no-update --working-dir ./${{env.EXTENSION_PATH}} |
232 |
| - composer require crowdsec/capi-client:"dev-${{ steps.set-capi-client-data.outputs.branch }} as 999.999.0" --no-update --working-dir ./${{env.EXTENSION_PATH}} |
| 225 | + ddev exec --raw composer require crowdsec/common:"dev-${{ steps.set-common-data.outputs.branch }}" --no-update --working-dir ./${{env.EXTENSION_PATH}} |
| 226 | + ddev exec --raw composer require crowdsec/lapi-client:"dev-${{ steps.set-lapi-client-data.outputs.branch }}" --no-update --working-dir ./${{env.EXTENSION_PATH}} |
| 227 | + ddev exec --raw composer require crowdsec/remediation-engine:"dev-${{ steps.set-remediation-engine-data.outputs.branch }}" --no-update --working-dir ./${{env.EXTENSION_PATH}} |
| 228 | + ddev exec --raw composer require crowdsec/capi-client:"dev-${{ steps.set-capi-client-data.outputs.branch }}" --no-update --working-dir ./${{env.EXTENSION_PATH}} |
233 | 229 | # Remediation engine
|
234 |
| - composer require crowdsec/common:"dev-${{ steps.set-common-data.outputs.branch }} as 999.999.0" --no-update --working-dir ./${{env.REMEDIATION_ENGINE_PATH}} |
235 |
| - composer require crowdsec/lapi-client:"dev-${{ steps.set-lapi-client-data.outputs.branch }} as 999.999.0" --no-update --working-dir ./${{env.REMEDIATION_ENGINE_PATH}} |
236 |
| - composer require crowdsec/capi-client:"dev-${{ steps.set-capi-client-data.outputs.branch }} as 999.999.0" --no-update --working-dir ./${{env.REMEDIATION_ENGINE_PATH}} |
| 230 | + ddev exec --raw composer require crowdsec/common:"dev-${{ steps.set-common-data.outputs.branch }}" --no-update --working-dir ./${{env.REMEDIATION_ENGINE_PATH}} |
| 231 | + ddev exec --raw composer require crowdsec/lapi-client:"dev-${{ steps.set-lapi-client-data.outputs.branch }}" --no-update --working-dir ./${{env.REMEDIATION_ENGINE_PATH}} |
| 232 | + ddev exec --raw composer require crowdsec/capi-client:"dev-${{ steps.set-capi-client-data.outputs.branch }}" --no-update --working-dir ./${{env.REMEDIATION_ENGINE_PATH}} |
237 | 233 | # CAPI client
|
238 |
| - composer require crowdsec/common:"dev-${{ steps.set-common-data.outputs.branch }} as 999.999.0" --no-update --working-dir ./${{env.CAPI_CLIENT_PATH}} |
| 234 | + ddev exec --raw composer require crowdsec/common:"dev-${{ steps.set-common-data.outputs.branch }}" --no-update --working-dir ./${{env.CAPI_CLIENT_PATH}} |
239 | 235 | # LAPI client
|
240 |
| - composer require crowdsec/common:"dev-${{ steps.set-common-data.outputs.branch }} as 999.999.0" --no-update --working-dir ./${{env.LAPI_CLIENT_PATH}} |
| 236 | + ddev exec --raw composer require crowdsec/common:"dev-${{ steps.set-common-data.outputs.branch }}" --no-update --working-dir ./${{env.LAPI_CLIENT_PATH}} |
241 | 237 |
|
242 | 238 | - name: Validate composer.json
|
243 | 239 | run: |
|
|
0 commit comments