Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,26 @@ jobs:
- run: conda --version
- run: python --version
- run: conda install python=${{ matrix.python-version }}
- name: Configure SCM package index
shell: bash
env:
SCM_DOWNLOADS_USERNAME: ${{ secrets.SCM_DOWNLOADS_USERNAME }}
SCM_DOWNLOADS_PASSWORD: ${{ secrets.SCM_DOWNLOADS_PASSWORD }}
run: |
if [[ -z "${SCM_DOWNLOADS_USERNAME}" || -z "${SCM_DOWNLOADS_PASSWORD}" ]]; then
echo "Missing SCM_DOWNLOADS_USERNAME or SCM_DOWNLOADS_PASSWORD secret."
exit 1
fi

cat << EOF > "${HOME}/.netrc"
machine downloads.scm.com
login ${SCM_DOWNLOADS_USERNAME}
password ${SCM_DOWNLOADS_PASSWORD}
EOF
chmod 600 "${HOME}/.netrc"
- name: Build
env:
PIP_EXTRA_INDEX_URL: https://downloads.scm.com/Downloads/packages/uv/channels/2026.1/simple/
run: |
pip3 install .[test,doc]
pip3 install build
Expand Down
Loading