Skip to content

Commit 5e11fe1

Browse files
committed
chore: wip
1 parent 685edb7 commit 5e11fe1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/precompile-php.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,14 @@ jobs:
958958
echo "php_versions=$PHP_VERSIONS" >> $GITHUB_OUTPUT
959959
echo "🔍 Dynamic PHP versions: $PHP_VERSIONS"
960960
961+
- name: Format PHP versions for release
962+
id: format-versions
963+
run: |
964+
# Convert JSON array to comma-separated string
965+
PHP_VERSIONS_JSON='${{ needs.get-php-versions.outputs.php_versions }}'
966+
PHP_VERSIONS_STRING=$(echo "$PHP_VERSIONS_JSON" | jq -r 'join(", ")')
967+
echo "php_versions_string=$PHP_VERSIONS_STRING" >> $GITHUB_OUTPUT
968+
961969
- name: Download all artifacts
962970
uses: actions/download-artifact@v4
963971
with:
@@ -1014,7 +1022,7 @@ jobs:
10141022
> This release contains precompiled PHP binaries optimized for modern PHP usage
10151023
10161024
- **Platforms**: Linux (x86_64), macOS (ARM64 & Intel)
1017-
- **PHP Versions**: ${{ fromJSON(needs.get-php-versions.outputs.php_versions).join(', ') }}
1025+
- **PHP Versions**: ${{ steps.format-versions.outputs.php_versions_string }}
10181026
- **Configuration Options**:
10191027
- `laravel-mysql`: Laravel applications using MySQL or MariaDB
10201028
- `laravel-postgres`: Laravel applications using PostgreSQL

0 commit comments

Comments
 (0)