项目文件夹

文件
2026-07-13 13:22:34 +08:00

22 行
656 B
YAML

name: "show-versions"
description: "Show python package versions sorted by release date"
runs:
using: "composite"
steps:
- shell: bash
run: |
# Activate the virtual environment if .venv exists
if [ -d .venv ]; then
if [ "$RUNNER_OS" == "Windows" ]; then
source .venv/Scripts/activate
else
source .venv/bin/activate
fi
fi
pip --disable-pip-version-check install ./dev/pypi > /dev/null
echo ">>> package versions"
status=0
python dev/show_package_release_dates.py || status=$?
echo "<<< package versions"
exit $status