This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
Update pytest in pyproject.toml from ^7.1.0 to ^8.3.3 #125
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: nextrelease | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
types: [labeled, unlabeled, edited, synchronize] | |
jobs: | |
sync: | |
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' && github.head_ref == 'nextrelease' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dropseed/nextrelease@v2 | |
env: | |
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.DROPSEED_PYPI_TOKEN }} | |
with: | |
prepare_cmd: | | |
sed -i -e "s/version = \"[^\"]*\"$/version = \"$VERSION\"/g" pyproject.toml | |
publish_cmd: | | |
pip3 install -U pip poetry && poetry publish --build --no-interaction | |
github_token: ${{ secrets.GITHUB_TOKEN }} |