-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Bug Description
When running GitHub Actions workflows, all jobs are failing with an automatic failure due to the use of a deprecated version of actions/upload-artifact: v3
. The workflow shows multiple failed test jobs including Test (3.12), Code Quality, and various Domain Tests.
Expected Behavior
GitHub Actions workflows should run successfully and complete all test jobs without deprecated action errors. Artifact uploads should work seamlessly as part of the CI/CD pipeline.
Actual Behavior
All workflow jobs fail immediately with the error message:
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`
Steps to Reproduce
- Push code changes or create a pull request that triggers GitHub Actions
- Observe the workflow run in the Actions tab
- Notice all jobs fail during the "Set up job" phase
- View the error logs showing the deprecated action warning
Impact
- Complete CI/CD pipeline failure
- Unable to run tests or deploy code
- Blocks pull request merging and development workflow
- All test suites (auth, servers, search, health, core) are non-functional
Additional Context
The issue is related to GitHub's deprecation notice from April 16, 2024, regarding v3 of the artifact actions. The workflow needs to be updated to use actions/upload-artifact@v4
instead of v3.
Reference: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
Solution
Update all instances of actions/upload-artifact@v3
to actions/upload-artifact@v4
in the workflow configuration files.