Skip to content

Update publish.yaml #17

Update publish.yaml

Update publish.yaml #17

Workflow file for this run

name: Publish to PyPI
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
name: Build release packages
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
- name: Build distribution packages
run: pdm build
- uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.os }}
path: dist/*
retention-days: 1
publish:

Check failure on line 25 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yaml

Invalid workflow file

You have an error in your yaml syntax on line 25
name: Upload to PyPI
- uses: actions/download-artifact@v4
with:
merge-multiple: true
- run: ls -R
clean: