Skip to content

Commit c396b55

Browse files
committed
Try using pipx to build package
1 parent fab9c7d commit c396b55

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build_package.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish
1+
name: Build Package
22

33
on:
44
pull_request:
@@ -24,8 +24,11 @@ jobs:
2424
with:
2525
python-version: "3.10"
2626

27-
- name: Install build dependencies
28-
run: pip install build
27+
- name: Install pipx
28+
run: python -m pip install --user pipx
29+
30+
- name: Install build using pipx
31+
run: pipx install build
2932

3033
- name: Set BUILD_RAGNA_BASE environment variable
3134
run: |
@@ -38,7 +41,7 @@ jobs:
3841
- name: Build distribution
3942
run: |
4043
echo "Building package: ${{ matrix.package }}"
41-
python -m build
44+
pipx run build
4245
4346
- name: Verify package
4447
run: |

0 commit comments

Comments
 (0)