File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 5151
5252 - uses : ./.github/actions/setup-pixi
5353 with :
54- environments : ${{ matrix.pixi_env && format('default {0}', matrix.pixi_env) || 'default' }}
54+ environments : ${{ matrix.pixi_env || 'default' }}
5555
5656 - name : Restore compiler cache
5757 uses : actions/cache@v4
@@ -63,11 +63,12 @@ jobs:
6363
6464 - name : Zero cache stats
6565 run : |
66+ ENV="${{ matrix.pixi_env || 'default' }}"
6667 if [ "$RUNNER_OS" = "Windows" ]; then
67- pixi run -- sccache --stop-server || true
68- pixi run -- sccache --zero-stats || true
68+ pixi run -e "$ENV" - - sccache --stop-server || true
69+ pixi run -e "$ENV" - - sccache --zero-stats || true
6970 else
70- pixi run -- ccache --zero-stats || true
71+ pixi run -e "$ENV" - - ccache --zero-stats || true
7172 fi
7273 shell : bash
7374
@@ -108,11 +109,12 @@ jobs:
108109 - name : Print cache stats and stop server
109110 if : always()
110111 run : |
112+ ENV="${{ matrix.pixi_env || 'default' }}"
111113 if [ "$RUNNER_OS" = "Windows" ]; then
112- pixi run -- sccache --show-stats
113- pixi run -- sccache --stop-server || true
114+ pixi run -e "$ENV" - - sccache --show-stats
115+ pixi run -e "$ENV" - - sccache --stop-server || true
114116 else
115- pixi run -- ccache --show-stats
117+ pixi run -e "$ENV" - - ccache --show-stats
116118 fi
117119 shell : bash
118120
You can’t perform that action at this time.
0 commit comments