Sigh............... Does this work?

This commit is contained in:
Anne de Jong 2023-10-11 17:13:59 +02:00
parent 78181ebca9
commit 6be9e14c13
2 changed files with 9 additions and 16 deletions

View File

@ -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/**

View File

@ -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