lasp/.gitea/workflows/master.yml

33 lines
655 B
YAML
Raw Normal View History

name: Building and releasing LASP (master branch)
on:
push:
branches:
- master
jobs:
2023-10-11 15:13:59 +00:00
Build-Test-Ubuntu:
runs-on: ubuntu-latest
container: ascee/ubuntu_build:latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Build
run: |
pip install build
python3 -m build
2023-10-11 15:13:59 +00:00
pip install dist/lasp*.whl
pytest
2023-10-11 15:13:59 +00:00
Release-Ubuntu:
runs-on: ubuntu-latest
- name: Release
2023-10-11 15:13:59 +00:00
uses: actions/release-action@main
with:
files: |-
dist/**
api_key: '${{secrets.RELEASE_TOKEN}}'