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

View File

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