fix(deps): limit numpy version to <2.0 (#18) #3
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: Release | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+' | |
- '[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install hatch | |
run: pip install hatch | |
- name: Build artifacts | |
run: hatch build | |
- name: Create Release | |
id: create_release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: | | |
./dist/*.whl | |
./dist/*.tar.gz | |
name: ${{ github.repository_owner }}/${{ github.repository }} ${{ github.ref }} | |
draft: true | |
prerelease: ${{ contains(github.ref, '-') }} | |
generate_release_notes: true |