bump version to 1.1.1 #4
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: Generate requirements.txt | |
on: | |
push: | |
paths: | |
- "pyproject.toml" | |
- "poetry.lock" | |
jobs: | |
generate-requirements: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install Poetry and poetry-plugin-export | |
run: | | |
pipx install poetry | |
pipx inject poetry poetry-plugin-export | |
- name: Add path for Python packages | |
run: echo "$HOME/.local/bin" >> $GITHUB_PATH | |
- name: Export requirements.txt | |
run: poetry export --without-hashes --without-urls -o requirements.txt | |
- name: Commit and push changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: update requirements.txt | |
# Optional glob pattern of files which should be added to the commit | |
file_pattern: requirements.txt | |
# Optional. Prevents the shell from expanding filenames. | |
# Details: https://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html | |
disable_globbing: true |