Skip to content

Release v1.53.3

Release v1.53.3 #170

Workflow file for this run

name: "[CD] Upload to pypi"
on:
release:
types: [published]
permissions:
contents: read
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository == 'aws-cloudformation/cfn-lint'
steps:
- uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.13"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install --upgrade setuptools build wheel twine
pip install -e .
- name: Download schemas into package for bundling
run: |
cache_dir="$(python -c 'from cfnlint.helpers import get_cache_dir; print(get_cache_dir())')"
cfn-lint --update-specs --force
cp -r "$cache_dir/providers" src/cfnlint/data/schemas/providers
cp -r "$cache_dir/resources" src/cfnlint/data/schemas/resources
cp "$cache_dir/version.json" src/cfnlint/data/schemas/version.json
- name: Build and publish
run: |
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1