Skip to content

create specific version for publishing #1

create specific version for publishing

create specific version for publishing #1

Workflow file for this run

name: Build distribution

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

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

(Line: 11, Col: 19): Job 'deploy' depends on unknown job 'lint'.
on:
release:
types: [created]
jobs:
test:
uses: ./.github/workflows/test.yml
deploy:
needs: [test, lint]
name: Deploy to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
- run: uv build
- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist