Skip to content

Commit

Permalink
Merge pull request #103 from sys-bio/rename-unix-wheels
Browse files Browse the repository at this point in the history
Update main.yml
  • Loading branch information
luciansmith authored Jul 16, 2024
2 parents 97dda95 + 8f7bc0a commit 6600f15
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,9 @@ jobs:
if [ "${{ matrix.platform.os_type }}" == 'macos' ]; then
mv antimony*.whl $(echo antimony*.whl | sed "s/universal2/${host_architecture}/g")
elif [ "${{ matrix.platform.os_type }}" == 'manylinux' ]; then
mv antimony*.whl $(echo antimony*.whl | sed "s/linux/manylinux2014/g")
mv antimony*.whl $(echo antimony*.whl | sed "s/linux/manylinux_2_28/g")
elif [ "${{ matrix.platform.os_type }}" == 'ubuntu' ]; then
mv antimony*.whl $(echo antimony*.whl | sed "s/linux/ubuntu/g")
fi
python_version_number=$(echo "${{ matrix.python_version }}" | tr -d '.')
mv antimony*.whl $(echo antimony*.whl | sed "s/cp${python_version_number}-cp${python_version_number}/py3-none/g")
Expand All @@ -371,4 +373,4 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: ${{env.python_wheel_artifacts_name}}
path: ${{env.python_wheel_artifacts_file}}
path: ${{env.python_wheel_artifacts_file}}

0 comments on commit 6600f15

Please sign in to comment.