Skip to content

Adding github workflows for deploy #65

Adding github workflows for deploy

Adding github workflows for deploy #65

Workflow file for this run

name: Python cryoet_data_portal build
on:
pull_request:
paths:
- "client/python/**"
- ".github/workflows/**" # Re-run if a workflow is modified - useful to test workflow changes in PRs
push:
branches: [main]
workflow_dispatch:
jobs:
build_python_wheels:
name: Build Python wheel and sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install deps
run: |
python -m pip install -U pip setuptools build
- name: Build
run: python -m build
working-directory: client/python/cryoet_data_portal/
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
path: client/python/cryoet_data_portal/dist/*