Skip to content

Commit

Permalink
Newlines do not work within the CIBW env varible
Browse files Browse the repository at this point in the history
  • Loading branch information
twomagpi committed Aug 5, 2024
1 parent ad2727e commit 7697464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/distribute_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.platform_id }}*
CIBW_TEST_COMMAND: python -W default -m unittest discover --start-directory {project}/tests
# setuptools_scm workaround for https://github.com/pypa/setuptools_scm/issues/455
CIBW_BEFORE_BUILD: ${{ github.ref == 'refs/heads/dev' && 'echo ''local_scheme = "no-local-version"'' >> pyproject.toml\n git diff --color=always\n git update-index --assume-unchanged pyproject.toml\n' || '' }}
CIBW_BEFORE_BUILD: ${{ github.ref == 'refs/heads/dev' && 'echo ''local_scheme = "no-local-version"'' >> pyproject.toml && git diff --color=always && git update-index --assume-unchanged pyproject.toml' || '' }}

# Upload the results
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 7697464

Please sign in to comment.