release: 0.10.6 #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish marimo-base release | |
# release a new version of marimo-base on tag push | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
workflow_dispatch: {} | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: marimo | |
REGISTRY: ghcr.io | |
IMAGE_NAME: marimo-team/marimo | |
jobs: | |
publish_release: | |
name: 📤 Publish release | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: 🛑 Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
- name: 🥚 Install Hatch | |
uses: pypa/hatch@install | |
- name: Adapt pyproject.toml to build marimo-base | |
run: ./scripts/modify_pyproject_for_marimo_base.sh | |
- name: 📦 Build marimo-base | |
run: hatch build --clean | |
- name: 📦 Validate wheel under 2mb | |
run: ./scripts/validate_base_wheel_size.sh | |
- name: 📤 Upload to PyPI | |
env: | |
HATCH_INDEX_USER: ${{ secrets.PYPI_USER }} | |
HATCH_INDEX_AUTH: ${{ secrets.PYPI_MARIMO_BASE_PASSWORD }} | |
run: hatch publish |