Skip to content

v2024.4.2

v2024.4.2 #11

Workflow file for this run

name: Release
on:
release:
types:
- created
permissions:
contents: read
jobs:
check-package:
name: Build & inspect our package.
runs-on: ubuntu-latest
if: ${{ github.repository }} == 'dask/dask-ml'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v2
release-pypi:
permissions:
id-token: write
contents: read
name: Publish released package to pypi.org
environment: release-pypi
if: github.event.action == 'published'
runs-on: ubuntu-latest
needs: build-package

Check failure on line 30 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 30, Col: 12): Job 'release-pypi' depends on unknown job 'build-package'.
steps:
- name: Download packages built by build-and-inspect-python-package
uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1