lasp/.gitea/workflows/workflow.yml

34 lines
700 B
YAML
Raw Normal View History

2023-10-05 19:39:41 +00:00
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
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-11 14:21:12 +00:00
if: github.ref == 'refs/heads/master'
2023-10-05 19:52:51 +00:00