cuda-quantum
cuda-quantum copied to clipboard
Refactor github.actor to replace 'fixed' strings and add context checks of buildx for sequential compilation and partial failures scenario
Description
-
Refactor github.actor: Replace 'fixed' strings with the more flexible github.actor. This change ensures that workflows accommodate any general actor who forks the repository and utilizes GitHub Actions, rather than being limited to fixed string values.
-
Context Checks for Buildx: Implement context checks in the buildx step, especially when using a single linux-xxx-cpu8 for parallel workflows. This ensures the build context is correctly validated, addressing potential issues in sequential compilation and scenarios where partial failures might occur.