We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a69c8f commit 7f83db3Copy full SHA for 7f83db3
‎.github/workflows/laravel-tests.yml‎
@@ -19,11 +19,15 @@ on:
19
test_command:
20
type: string
21
default: "vendor/bin/phpunit"
22
+ environment:
23
+ description: "GitHub environment name for environment-scoped variables/secrets. Leave empty to avoid registering a deployment."
24
+ type: string
25
+ default: ""
26
27
jobs:
28
laravel-tests:
29
runs-on: ubuntu-latest
- environment: Testing
30
+ environment: ${{ inputs.environment != '' && inputs.environment || null }}
31
strategy:
32
matrix:
33
php-version: ${{ inputs.php_versions != '' && fromJson(inputs.php_versions) || fromJson(format('["{0}"]', inputs.php_version)) }}
0 commit comments