Skip to content

Commit f3a4c03

Browse files
committed
update actions
1 parent 13506c7 commit f3a4c03

File tree

4 files changed

+15
-42
lines changed

4 files changed

+15
-42
lines changed

.github/workflows/wheels.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,18 @@ jobs:
1818

1919
# Used to host poetry
2020
- uses: actions/setup-python@v3
21-
22-
- name: Lock dependencies
23-
run: poetry lock
24-
25-
- name: Install dependencies
26-
run: poetry install
27-
28-
- name: poetry pre-build
29-
run: poetry build
21+
- name: activate python env
22+
run: |
23+
pip install --upgrade pip
24+
python3 -m venv env
25+
source env/bin/activate
26+
echo "VIRTUAL ENV:" $VIRTUAL_ENV
27+
pip install "requests>=2.27.0" "pybind11>=2.11.1" "setuptools>=69.0.3" "wheel>=0.42.0"
28+
29+
- name: Lock and install dependencies
30+
run: |
31+
poetry lock
32+
poetry install
3033
3134
- name: Build sdist package
3235
run: poetry run python setup.py sdist
@@ -35,9 +38,9 @@ jobs:
3538
run: poetry run python setup.py bdist_wheel
3639

3740
- name: Build wheels for more general OS
38-
run: poetry build
41+
run: poetry build --format=wheel
3942

4043
- uses: actions/upload-artifact@v4
4144
with:
4245
name: rehline-wheels-${{ matrix.os }}-${{ strategy.job-index }}
43-
path: ./sdist/*.whl
46+
path: ./dist/*.whl
-21 Bytes
Binary file not shown.

dist/rehline-0.0.3.tar.gz

-2 Bytes
Binary file not shown.

poetry.lock

Lines changed: 1 addition & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)