Update version to 4.6.1 #512
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OSIDB Bindings integration | |
on: | |
pull_request: | |
paths: | |
- "openapi.yml" | |
jobs: | |
regenerate-bindings: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Extract branch name | |
shell: bash | |
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT | |
id: extract_branch | |
- uses: actions/checkout@v4 | |
with: | |
repository: "RedHatProductSecurity/osidb-bindings" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: pip install -r devel-requirements.txt | |
- name: Download recent OpenAPI schema | |
run: make download-schema ref=${{ steps.extract_branch.outputs.branch }} | |
- name: Regenerate OSIDB bindings with the new schema file | |
run: make update |