lasp/.gitea/workflows/workflow.yml
J.A. de Jong - ASCEE / Redu-Sone B.V. 2d0d24a35a
Some checks failed
Building and testing LASP / Build-Test-Ubuntu (push) Successful in 2m20s
Building and testing LASP / Release-Ubuntu (push) Failing after -1m9s
Removed constraints on tag
2023-10-05 21:52:51 +02:00

34 lines
681 B
YAML

name: Building and testing LASP
on:
push:
jobs:
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
Release-Ubuntu:
runs-on: ubuntu-latest
container: ascee/ubuntu_build:latest
needs: Build-Test-Ubuntu
steps:
- name: Release
uses: actions/release-action@main
with:
files: |-
dist/**
api_key: '${{secrets.RELEASE_TOKEN}}'
if: gitea.ref == 'refs/heads/master'