Skip to content

testing

testing #11

Workflow file for this run

name: Publish
on:
push:
branches:
- main
release:
types: [created]
jobs:
publish:
name: "Publish release"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Pixi Python Project
uses: prefix-dev/[email protected]
with:
pixi-version: v0.28.2
cache: true
environments: dev # separate by spaces; only using the dev environment to build
- name: Install twine from conda-forge (globally as to not interfere)
run: pixi global install twine
- name: Build package
run: pixi run -e dev build
- name: Publish to PyPI
run: twine upload dist/*
with:

Check failure on line 33 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 33, Col: 9): Unexpected value 'with'
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}