Skip to content

fix(build): fetch depth #38

fix(build): fetch depth

fix(build): fetch depth #38

Workflow file for this run

name: Semantic Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
environment: production
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: Python Semantic Release
id: semantic_release
uses: taylorhakes/python-semantic-release@master
with:
github_token: ${{ secrets.GH_TOKEN }}
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.semantic_release.outputs.released == 'true'