Skip to content

Commit

Permalink
ci: Require version for POLARS_VERSION (#21248)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Feb 13, 2025
1 parent 585cabe commit a1a9061
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docs-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
types:
- python-release
workflow_dispatch:
inputs:
polars_version:
description: 'Specify Polars version (e.g., py-0.20.1)'
required: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -48,7 +52,7 @@ jobs:
- name: Build Python documentation
working-directory: py-polars/docs
env:
POLARS_VERSION: ${{ github.event.client_payload.tag || 'main' }}
POLARS_VERSION: ${{ github.event.inputs.polars_version || github.event.client_payload.tag || 'main' }}
run: make html

- name: Deploy Python docs for latest development version
Expand Down

0 comments on commit a1a9061

Please sign in to comment.