Split two files. No other way possible?
Some checks failed
Building and releasing LASP (master branch) / Build-Test-Release-Ubuntu (push) Failing after 2m4s
Some checks failed
Building and releasing LASP (master branch) / Build-Test-Release-Ubuntu (push) Failing after 2m4s
This commit is contained in:
parent
9b44ff7262
commit
78181ebca9
28
.gitea/workflows/master.yml
Normal file
28
.gitea/workflows/master.yml
Normal file
@ -0,0 +1,28 @@
|
||||
name: Building and releasing LASP (master branch)
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
Build-Test-Release-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
|
||||
|
||||
- name: Release
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
with:
|
||||
files: |-
|
||||
dist/**
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
@ -1,7 +1,9 @@
|
||||
name: Building and testing LASP
|
||||
name: Building and testing LASP (not-master branch)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '!master'
|
||||
|
||||
jobs:
|
||||
Build-Test-Ubuntu:
|
||||
@ -31,3 +33,4 @@ jobs:
|
||||
dist/**
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user