Merge pull request #128 from feltech/work/51-libraryFromJSONString #357
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
# SPDX-License-Identifier: Apache-2.0 | |
# Copyright 2022 The Foundry Visionmongers Ltd# | |
name: Build Wheels | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
pull_request: | |
concurrency: | |
# Shared with `deploy-pypi`. | |
group: wheel-${{ github.ref }} | |
# Cancel any in-progress build or publish. | |
cancel-in-progress: true | |
jobs: | |
build_wheels: | |
name: Build wheel | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install setuptools wheel | |
- name: Build wheels | |
run: pip wheel --no-deps --wheel-dir wheelhouse . | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: openassetio-manager-bal-wheels | |
path: ./wheelhouse/*.whl |