2023-10-11 15:03:55 +00:00
|
|
|
name: Building and testing LASP (not-master branch)
|
2023-10-05 19:39:41 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-10-11 15:03:55 +00:00
|
|
|
branches:
|
|
|
|
- '!master'
|
2023-10-05 19:39:41 +00:00
|
|
|
|
|
|
|
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
|
2023-10-11 14:45:04 +00:00
|
|
|
if: gitea.ref == 'refs/heads/master'
|
2023-10-05 19:39:41 +00:00
|
|
|
steps:
|
|
|
|
- name: Release
|
2023-10-09 19:51:52 +00:00
|
|
|
uses: https://gitea.com/actions/release-action@main
|
2023-10-05 19:39:41 +00:00
|
|
|
with:
|
|
|
|
files: |-
|
|
|
|
dist/**
|
|
|
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
2023-10-05 19:52:51 +00:00
|
|
|
|
2023-10-11 15:03:55 +00:00
|
|
|
|