Skip to content
Merged

Dev #20

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/build_dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
- name: Bump package version in pyproject.toml
run: |
uv version ${{steps.version.outputs.new_tag}}
uv lock

- name: Build dist
run: |
Expand All @@ -60,6 +61,7 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add pyproject.toml
git add uv.lock
git diff-index --quiet HEAD || git commit -m "Updating version of pyproject.toml"

- name: Push the new pyproject.toml
Expand All @@ -84,13 +86,6 @@ jobs:
tag_name: ${{ steps.tag.outputs.new_tag }}
generate_release_notes: true

- name: Publish distribution to PyPI
if: false # TODO: remove this line to Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true
verbose: true

- name: Merge 'main' branch -> 'dev' branch
uses: devmasx/merge-branch@master
with:
Expand All @@ -100,3 +95,10 @@ jobs:
message: "Automatic merge from 'main' into 'dev' [skip actions]"
label_name: "gh-actions"
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish distribution to PyPI
if: false # TODO: remove this line to Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip_existing: true
verbose: true
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.