Skip to content

Only run on v1 tags

Only run on v1 tags #1

Workflow file for this run

name: "[CD] Create release"
on:
push:
tags:
- "v1.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Build
run: scripts/release_schemas/create_cfn_schema_rule.py
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/v1')
with:
files: |
build/schemas-cfnlint.zip
build/schemas-draft7.zip