chore(deps): bump freezegun from 1.3.0 to 1.3.1 #38
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: Release | |
on: | |
pull_request: | |
release: | |
types: [created] | |
jobs: | |
pypi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: pipx install poetry | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
cache: 'poetry' | |
- run: poetry install | |
- name: Configure poetry | |
run: poetry config pypi-token.pypi ${{ secrets.RABE_PYPI_TOKEN }} | |
if: ${{ github.event_name != 'pull_request' }} | |
- name: Set dry-run flag | |
id: dry-run | |
run: | | |
flag="--dry-run" | |
if ${{ github.event_name != 'pull_request' }} | |
then | |
flag="" | |
fi | |
echo "flag=$flag" >> $GITHUB_OUTPUT | |
- run: poetry version $(git describe --tags --abbrev=0 --exact-match || (git describe --tags --abbrev=0 --dirty=+dev|tr -d '\n'; echo "+dev")) | |
- run: poetry publish --build --no-interaction ${{ steps.dry-run.outputs.flag }} |