Skip to content

Commit

Permalink
added build steps to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
santacodes committed Aug 22, 2024
1 parent 86ddd5e commit 3ed4b80
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,24 @@ jobs:
id-token: write
steps:

- name: Checkout pybamm-cookie
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Set up uv
uses: yezz123/setup-uv@v4
with:
uv-venv: ".venv"

- name: Install dependencies
run: uv pip install build hatch

- name: Build package
run: python -m build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 3ed4b80

Please sign in to comment.