Skip to content

Commit c978337

Browse files
committed
CI: install pixi to runner temp
1 parent 847e292 commit c978337

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/ci_gz_physics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: prefix-dev/[email protected]
5656
with:
5757
cache: true
58-
pixi-bin-path: ~/.pixi/bin/pixi.exe
58+
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi
5959

6060
- name: Install apt packages
6161
uses: awalsh128/[email protected]

.github/workflows/ci_macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
# Avoid cache key generation failures on macOS self-hosted runners
5353
cache: false
54-
pixi-bin-path: ~/.pixi/bin/pixi.exe
54+
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi
5555

5656
- name: Setup sccache
5757
uses: mozilla-actions/[email protected]
@@ -103,7 +103,7 @@ jobs:
103103
with:
104104
# Avoid cache key generation failures on macOS self-hosted runners
105105
cache: false
106-
pixi-bin-path: ~/.pixi/bin/pixi.exe
106+
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi
107107

108108
- name: Setup sccache
109109
uses: mozilla-actions/[email protected]

.github/workflows/ci_ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: prefix-dev/[email protected]
5656
with:
5757
cache: true
58-
pixi-bin-path: ~/.pixi/bin/pixi.exe
58+
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi
5959

6060
- name: Install system dependencies
6161
uses: awalsh128/[email protected]
@@ -118,7 +118,7 @@ jobs:
118118
uses: prefix-dev/[email protected]
119119
with:
120120
cache: true
121-
pixi-bin-path: ~/.pixi/bin/pixi.exe
121+
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi
122122

123123
- name: Install system dependencies
124124
uses: awalsh128/[email protected]
@@ -185,7 +185,7 @@ jobs:
185185
uses: prefix-dev/[email protected]
186186
with:
187187
cache: true
188-
pixi-bin-path: ~/.pixi/bin/pixi.exe
188+
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi
189189

190190
- name: Install system dependencies
191191
uses: awalsh128/[email protected]

.github/workflows/ci_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
cache: false
5757
run-install: false
58-
pixi-bin-path: ~/.pixi/bin/pixi.exe
58+
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi.exe
5959

6060
- name: Setup sccache
6161
uses: mozilla-actions/[email protected]

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
uses: prefix-dev/[email protected]
6868
with:
6969
cache: true
70-
pixi-bin-path: ~/.pixi/bin/pixi.exe
70+
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi
7171

7272
- name: Setup sccache
7373
uses: mozilla-actions/[email protected]

.github/workflows/publish_dartpy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
with:
9393
pixi-version: latest
9494
cache: true
95-
pixi-bin-path: ~/.pixi/bin/pixi.exe
95+
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi${{ runner.os == 'Windows' && '.exe' || '' }}
9696

9797
- name: Setup sccache
9898
if: (matrix.skip-on-commit != true) || github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)