lasp/.gitea/workflows/workflow.yml
J.A. de Jong - ASCEE / Redu-Sone B.V. 1bf32fe81d
Some checks failed
Building and testing LASP / Build-Test-Ubuntu (push) Successful in 2m5s
Building and testing LASP / Release-Ubuntu (push) Failing after -1m9s
gitub ref?
2023-10-11 16:21:12 +02:00

34 lines
700 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: https://gitea.com/actions/release-action@main
with:
files: |-
dist/**
api_key: '${{secrets.RELEASE_TOKEN}}'
if: github.ref == 'refs/heads/master'