mirror of
https://github.com/sorrycc/awesome-javascript.git
synced 2025-12-08 20:13:04 +00:00
1. Updated GitHub Actions versions:
actions/checkout@v2 → actions/checkout@v4
actions/upload-artifact@v2 → actions/upload-artifact@v4
Updated Ruby version from 2.6 to 3.2 (since 2.6 is no longer supported).
2. Optimized workflow steps:
Moved setup-ruby after checkout for better execution order.
Added bundler-cache: true to setup-ruby to prevent redundant gem installations.
3. Improved awesome_bot installation:
Added --no-document flag to speed up installation.
4. Made validation step more resilient:
Added continue-on-error: true to validate to prevent workflow failure on link errors.
5. Adjusted artifact handling:
Used if: ${{ failure() }} to ensure artifacts are uploaded only if the validation fails.