Skip to content

Commit 7d1300f

Browse files
committed
fix build command for release workflow
1 parent 75fe1c5 commit 7d1300f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
# runs only when a release is published, not on drafts
88
on:
99
workflow_dispatch:
10-
10+
1111

1212
jobs:
1313
deploy-packges-and-generate-documentation:

.github/workflows/update-packages-and-documentation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,17 @@ jobs:
8181
8282
- name: Build package
8383
run: |
84-
python -m build --no-isolation --outdir dist/
84+
python -m build --sdist --no-isolation --outdir dist/
8585
8686
- name: Generate documentation
8787
run: |
8888
sudo apt-get install doxygen graphviz
8989
bash -ex generate-docs.sh "${{ secrets.GITHUB_TOKEN }}" "gh-pages"
9090
91-
- name: Publish package
92-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
91+
- name: Publish package to pypi.org
92+
uses: pypa/gh-action-pypi-publish@release/v1
9393
with:
9494
user: __token__
9595
password: ${{ secrets.PYPI_API_TOKEN }}
9696
verbose: true
97-
packages-dir: dist/
97+
packages_dir: dist/

0 commit comments

Comments
 (0)