Skip to content

Merge pull request #31 from benjiemc/hot-fix #17

Merge pull request #31 from benjiemc/hot-fix

Merge pull request #31 from benjiemc/hot-fix #17

Workflow file for this run

name: Semantic Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write
environment:
name: pypi
url: https://pypi.org/p/python_pdb
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Python Semantic Release
id: semantic_release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish package to GitHub Release
uses: python-semantic-release/upload-to-gh-release@main
if: ${{ steps.release.outputs.released }} == 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }}
- name: Publish Python 🐍 distribution 📦 to PyPI
if: ${{ steps.release.outputs.released }} == 'true'
uses: pypa/gh-action-pypi-publish@release/v1