File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,9 @@ jobs:
116116 - name : Compute pixi environment name
117117 run : |
118118 set -euo pipefail
119- PIXI_ENV="cu-$(cut -d. -f1-2 <<< "${{ matrix.CUDA_VER }}" | tr . -)"
119+ CUDA_VER_PART="$(cut -d. -f1-2 <<< "${{ matrix.CUDA_VER }}" | tr . -)"
120+ PY_VER_PART="py$(tr -d . <<< "${{ matrix.PY_VER }}")"
121+ PIXI_ENV="cu-${CUDA_VER_PART}-${PY_VER_PART}"
120122 echo "PIXI_ENV=${PIXI_ENV}" >> "${GITHUB_ENV}"
121123 - name : Setup pixi
122124 uses : prefix-dev/setup-pixi@fef5c9568ca6c4ff7707bf840ab0692ba3f08293
Original file line number Diff line number Diff line change @@ -104,7 +104,9 @@ jobs:
104104 - name : Compute pixi environment name
105105 run : |
106106 set -euo pipefail
107- PIXI_ENV="cu-$(cut -d. -f1-2 <<< "${{ matrix.CUDA_VER }}" | tr . -)"
107+ CUDA_VER_PART="$(cut -d. -f1-2 <<< "${{ matrix.CUDA_VER }}" | tr . -)"
108+ PY_VER_PART="py$(tr -d . <<< "${{ matrix.PY_VER }}")"
109+ PIXI_ENV="cu-${CUDA_VER_PART}-${PY_VER_PART}"
108110 echo "PIXI_ENV=${PIXI_ENV}" >> "${GITHUB_ENV}"
109111 - name : Setup pixi
110112 uses : prefix-dev/setup-pixi@fef5c9568ca6c4ff7707bf840ab0692ba3f08293
You can’t perform that action at this time.
0 commit comments