learn-sql-model/.github/workflows/release.yml

24 lines
570 B
YAML

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