Sigh............... Does this work?
This commit is contained in:
parent
78181ebca9
commit
6be9e14c13
@ -5,7 +5,7 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build-Test-Release-Ubuntu:
|
Build-Test-Ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ascee/ubuntu_build:latest
|
container: ascee/ubuntu_build:latest
|
||||||
steps:
|
steps:
|
||||||
@ -18,9 +18,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install build
|
pip install build
|
||||||
python3 -m build
|
python3 -m build
|
||||||
|
pip install dist/lasp*.whl
|
||||||
|
pytest
|
||||||
|
|
||||||
|
Release-Ubuntu:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: https://gitea.com/actions/release-action@main
|
uses: actions/release-action@main
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
dist/**
|
dist/**
|
||||||
|
@ -17,20 +17,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
pip install build
|
pip install build pytest
|
||||||
python3 -m build
|
python3 -m build
|
||||||
|
pip install dist/lasp*.whl
|
||||||
Release-Ubuntu:
|
pytest
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container: ascee/ubuntu_build:latest
|
|
||||||
needs: Build-Test-Ubuntu
|
|
||||||
if: gitea.ref == 'refs/heads/master'
|
|
||||||
steps:
|
|
||||||
- name: Release
|
|
||||||
uses: https://gitea.com/actions/release-action@main
|
|
||||||
with:
|
|
||||||
files: |-
|
|
||||||
dist/**
|
|
||||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user