add release workflow
This commit is contained in:
parent
3f28a10b16
commit
ad27cd8e9d
1 changed files with 24 additions and 0 deletions
24
.github/workflows/release.yml
vendored
Normal file
24
.github/workflows/release.yml
vendored
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue