Skip to content

Run bump version first #18

Run bump version first

Run bump version first #18

Workflow file for this run

name: Build wheel
on:
push:
# Sequence of patterns matched against refs/heads
branches:
- feature/package-as-wheel
# Sequence of patterns matched against refs/tags
tags:
- v2
- v1.*
env:
CIBW_BUILD_VERBOSITY: 1
jobs:
build_wheel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: git config --global user.email "support@test.com"
- run: git config --global user.name "CI Job"
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: v22.1.0
- name: Bump version for Node.js (package.json)
run: |
npm version patch # Or `minor` / `major` depending on your needs
cat package.json
env:
CI: true
- name: Bump version for Python (pyproject.toml)
run: |
python3 scripts/bump_pyproject_version.py
cat pyproject.toml
- run: npm install
- run: npm run build
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Build wheel and install
run: |
python -m pip install --user --upgrade build
python -m build --wheel
ls -l dist/
- uses: actions/upload-artifact@v4
with:
name: ttnn_visualizer_${{ github.sha }}
path: ./dist/*.whl