Skip to content

Commit

Permalink
fetch submodules, git reset before build
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Jul 17, 2024
1 parent b38bc45 commit c4b6c8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -28,6 +31,7 @@ jobs:
uv pip install build
- name: Build package
run: |
git reset --hard HEAD
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit c4b6c8b

Please sign in to comment.