Skip to content

1.0.0

1.0.0 #3

Workflow file for this run

name: publish
on: # yamllint disable-line rule:truthy
release:
types: [published]
workflow_dispatch:
jobs:
pypi:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install liblsl
uses: ./.github/actions/install-liblsl
- name: Create virtual sound card
uses: ./.github/actions/create-soundcard
- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install uv and package
run: |
python -m pip install --quiet uv
uv pip install --quiet --system .[build]
- name: Display system information
run: stimuli sys-info --developer
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m build
twine check --strict dist/*
twine upload dist/*