Skip to content

Commit 80cfe9f

Browse files
committed
Fix build command
1 parent 8b4e13d commit 80cfe9f

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v5
12-
- name: Set up Python
13-
uses: actions/setup-python@v6
14-
with:
15-
python-version: '3.x'
16-
- name: Install dependencies
17-
run: |
18-
python -m pip install --upgrade pip
19-
pip install build twine
20-
- name: Build and publish
21-
env:
22-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
23-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
24-
run: |
25-
make release
11+
- uses: actions/checkout@v5
12+
- name: Set up Python
13+
uses: actions/setup-python@v6
14+
with:
15+
python-version: "3.x"
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install build twine
20+
- name: Build and publish
21+
env:
22+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
23+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
24+
run: |
25+
make release
2626
27-
- name: Publish Documentation
28-
run: |
29-
pip install -r requirements-docs.txt
30-
pip install -e .
31-
mkdocs gh-deploy --force
27+
- name: Publish Documentation
28+
run: |
29+
pip install -r requirements-docs.txt
30+
pip install -e .
31+
mkdocs gh-deploy --force

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ release-test: sdist
2020
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
2121

2222
sdist: clean
23-
python -m build -d dist .
23+
python -m build -o dist .
2424
ls -l dist
2525

2626
test:

0 commit comments

Comments
 (0)