Skip to content

Commit

Permalink
update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBok committed Aug 27, 2024
1 parent 465588a commit 40e472c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,17 @@ jobs:
# version refers to the python version. So 3.8 -> 38
version=$(echo ${{ matrix.python-version }} | sed 's/\.//g')
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
chunk="windows"
else:
chunk="${{matrix.os}}"
fi
# this finds files like
# nlopt-2.6.2-cp36-cp36m-win_amd64.whl
# nlopt-2.6.2-cp36-cp36m-manylinux10_amd64.whl
# nlopt-2.7.1-cp310-cp310-win_amd64.whl
file=$(find dist/${{ matrix.os }} -name "nlopt-*${version}*${os}*.whl" -type f);
file=$(find dist/${chunk} -name "nlopt-*${version}*${os}*.whl" -type f);
echo "Installing file: ${file}"
Expand Down

0 comments on commit 40e472c

Please sign in to comment.