Skip to content

Commit

Permalink
Rename conda-forge packages before installing
Browse files Browse the repository at this point in the history
Rename the packages collected in `requirements-full.txt` in GitHub
Actions to their respective conda-forge package names.
  • Loading branch information
santisoler committed Aug 27, 2024
1 parent d8ece1e commit a56a2fa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ jobs:
echo "Collected dependencies:"
cat requirements-full.txt
- name: Rename conda-forge packages
run: |
echo "Rename conda-forge packages in requirements-full.txt"
# Replace "build" for "python-build"
sed -s --in-place 's/^build$/python-build/' requirements-full.txt
echo "Renamed dependencies:"
cat requirements-full.txt
- name: Get the pip cache folder
id: pip-cache
run: |
Expand Down

0 comments on commit a56a2fa

Please sign in to comment.