Commit cb54b9a
authored
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.1 parent 08dac10 commit cb54b9a
11 files changed
Lines changed: 1973 additions & 1199 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments