Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Use pixi to run action as composite (#91)
* ENH: Use pixi to run action as composite * Use pixi to manage the environment fully, which removes the needs for micromamba and a Linux container, allowing the action to be run as a 'composite' action. - This allows the action to be used on macOS runners in addition to Linux. - Add pixi project configuration and pixi lock file. - Add 'osx-64' and 'osx-arm64' platforms to pixi environment solves to allow for use on Linux and macOS runners. - Use prefix-dev/setup-pixi GitHub action to setup pixi for the action. - Explicitly enable the 'locked' option for prefix-dev/setup-pixi. - Don't allow for post job cleanup to avoid errors if the action is run multiple times in a workflow (this is a downside of no longer being in a Linux container). - Note: GitHub Actions takes care of cleaning up the environment after each run, so you are not responsible for manually unsetting all environment variables between steps to avoid secret leakage. - Make cmd.sh executable (chmod +x). * Remove use of micromamba in the upload script. * Remove the conda-lock files and the Docker based locking workflow. * Remove Dockerfile. * Note in the README that the runner used can be either Linux or macOS. * Update version numbers of action to v0.5.0. * MNT: Rename script to 'upload_wheels.sh' * As the script is no longer the CMD of a Linux container but is now a standalone Bash script, having a more descriptive name is preferable.
- Loading branch information