Skip to content

Commit

Permalink
ci: try to fix building for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
k4black committed May 14, 2024
1 parent 7b93122 commit 4cbdd0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ jobs:
steps:
- name: Build wheel
run: |
python3 -m pip install --upgrade build
python3 -m build --wheel --outdir ./dist .
python3 -m venv .venv
source .venv/bin/activate
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
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ jobs:
- uses: actions/checkout@v4
- name: Build wheel
run: |
python3 -m pip install --upgrade build
python3 -m build --wheel --outdir ./dist .
python3 -m venv .venv
source .venv/bin/activate
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 4cbdd0d

Please sign in to comment.