Skip to content

Commit

Permalink
install hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jan 24, 2025
1 parent aaa02e9 commit 45c796f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions actions/book/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ runs:
uses: actions/checkout@v4

- name: Download all artifacts
if: ${{ env.ACT != 'true' }} # Skip if running with 'act'
uses: actions/download-artifact@v4
with:
path: .book
Expand All @@ -35,5 +36,5 @@ runs:
if: ${{ env.ACT != 'true' }} # Skip if running with 'act'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: .book # The folder the action should deploy.
branch: gh-pages # The branch the action should deploy to.
folder: .book # The folder the action should deploy.
3 changes: 2 additions & 1 deletion actions/uv/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ runs:
run: |
# Update version in pyproject.toml from git tag
sed -i -e "s/0.0.0/${GITHUB_REF#refs/*/}/" pyproject.toml
uv pip install hatch
# Build the package
uv build
hatch build
- name: Upload build artifacts
if: ${{ env.ACT != 'true' }} # Skip if running with 'act'
Expand Down

0 comments on commit 45c796f

Please sign in to comment.