lasp/.gitea/workflows/workflow.yml

34 lines
701 B
YAML
Raw Normal View History

2023-10-05 19:39:41 +00:00
name: Building and testing LASP
on:
push:
tags:
- '*'
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}}'
2023-10-05 19:50:19 +00:00
if: gitea.ref == 'refs/heads/master'