Skip to content

Commit

Permalink
Print toml; fix missed quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Nov 15, 2024
1 parent ba3c9e8 commit cd505e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release_wheel_creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ jobs:
- uses: actions/checkout@v4
- name: Create pyproject.toml
run: |
if [[ ${{ matrix.os }} == *"ubuntu"* ]]; then
if [[ "${{ matrix.os }}" == *"ubuntu"* ]]; then
echo -e '[build-system]\n\nrequires = [ "setuptools", "wheel", "cython", "pybind11" ]' > $GITHUB_WORKSPACE/pyproject.toml
elif [[ ${{ matrix.os }} == *"macos"* ]]; then
cat $GITHUB_WORKSPACE/pyproject.toml
elif [[ "${{ matrix.os }}" == *"macos"* ]]; then
echo '[build-system]\n\nrequires = [ "setuptools", "wheel", "cython", "pybind11" ]' > $GITHUB_WORKSPACE/pyproject.toml
cat $GITHUB_WORKSPACE/pyproject.toml
else
echo '[build-system]\n\nrequires = [ "setuptools", "wheel", "cython", "pybind11" ]' > $GITHUB_WORKSPACE\pyproject.toml
fi
Expand Down

0 comments on commit cd505e6

Please sign in to comment.