Skip to content

Commit

Permalink
chore: install poetry on build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantgoel committed Nov 1, 2024
1 parent 6fcd187 commit f7c3956
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
with:
python-version: "3.10"

- name: Setup pip
run: python -m pip install --upgrade pip
- name: Install Poetry
uses: abatilo/[email protected]

- name: Build source distribution
run: python setup.py sdist
run: poetry build --format sdist

- uses: actions/upload-artifact@v4
with:
Expand All @@ -37,6 +37,9 @@ jobs:
with:
python-version: "3.10"

- name: Install Poetry
uses: abatilo/[email protected]

- name: Build wheels
uses: pypa/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Python Poetry Action
- name: Install Poetry
uses: abatilo/[email protected]

- uses: extractions/setup-just@v2
Expand Down

0 comments on commit f7c3956

Please sign in to comment.