Skip to content

Commit 7de3145

Browse files
committed
Add PIP_NO_USER
1 parent 5ee895f commit 7de3145

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build-mkl.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@ jobs:
1616
python-version: ["3.11", "3.12", "3.13"]
1717

1818
runs-on: ${{ matrix.platform }}
19+
env:
20+
PIP_NO_USER: "1"
1921
defaults:
2022
run:
2123
shell: bash -l {0}
2224
steps:
2325
- uses: actions/checkout@v6
24-
with:
25-
fetch-depth: 0
26+
- name: Get history and tags for SCM versioning to work
27+
run: |
28+
git fetch --prune --unshallow
29+
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
2630
- uses: conda-incubator/setup-miniconda@v4
2731
with:
2832
use-mamba: true

0 commit comments

Comments
 (0)