Skip to content

Conversation

@baschny
Copy link
Member

@baschny baschny commented Oct 15, 2025

No description provided.

- Created test-build.yml workflow that runs on pushes and PRs
- Uses PHP 8.4 environment with same build process as release workflow
- Uploads built PHAR as artifact for testing (7-day retention)
- Includes verification steps to ensure PHAR is functional
- Allows testing build process without creating releases
- Update actions/upload-artifact from v3 to v4 (v3 deprecated Jan 2025)
- Update actions/cache from v3 to v4 for better performance
- Fixes workflow failure due to deprecated artifact actions
- Get cache directory from src/ subdirectory where composer.json is located
- Cache both global composer cache and src/vendor directory
- Use more specific cache key based on src/composer.json and src/composer.lock
- Eliminates 'Path Validation Error' warning in post-job cleanup
@baschny baschny merged commit e3f44cb into master Oct 15, 2025
1 check passed
@baschny baschny deleted the release-phar branch October 15, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants