Skip to content

Commit

Permalink
Updated deploy workflows to use build module
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuzu-Typ committed Oct 29, 2023
1 parent 28c94b8 commit 544f3df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,12 @@ jobs:
name: Install Python
with:
python-version: '3.12'

- name: Install build
run: pip install build

- name: Build sdist
run: python setup.py sdist
run: python -m build --sdist

- uses: actions/upload-artifact@v3
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,11 @@ jobs:
with:
python-version: '3.12'

- name: Install build
run: pip install build

- name: Build sdist
run: python setup.py sdist
run: python -m build --sdist

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 544f3df

Please sign in to comment.