add release workflow

This commit is contained in:
Waylon Walker 2023-06-14 20:30:52 -05:00
parent 3f28a10b16
commit ad27cd8e9d
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

24
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Release
on:
workflow_dispatch:
push:
branches:
- "*"
jobs:
release:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install hatch
- run: hatch run build
- name: Step 3 - Use the Upload Artifact GitHub Action
uses: actions/upload-artifact@v2
with:
name: lsm-${{ matrix.os }}
path: dist