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