Skip to content

Commit

Permalink
ci: try to use --no-isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
k4black committed May 14, 2024
1 parent 1934e7a commit 705ff2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
steps:
- name: Build wheel
run: |
python3 -m pip install --upgrade build
python3 -m build --wheel --sdist --outdir ./dist
python3 -m pip install --upgrade build wheel setuptools
python3 -m build --wheel --sdist --outdir ./dist --no-isolation
- uses: pypa/gh-action-pypi-publish@release/v1

sync-to-hf-hub:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
- uses: actions/checkout@v4
- name: Build wheel
run: |
python3 -m pip install --upgrade build
python3 -m build --wheel --sdist --outdir ./dist --config-setting break-system-packages=true --config-setting user=true
python3 -m pip install --upgrade build wheel setuptools
python3 -m build --wheel --sdist --outdir ./dist --no-isolation
- name: Show dist files
run: ls -lah ./dist
shell: bash
Expand Down

0 comments on commit 705ff2e

Please sign in to comment.