Skip to content

Commit

Permalink
fix: attempt to fix CI release by using deep checkout instead of shal…
Browse files Browse the repository at this point in the history
…low checkout
  • Loading branch information
Guibod committed Feb 17, 2023
1 parent f1a27cd commit e79b94c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ jobs:
# if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore(release):')
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install poetry
run: pip install poetry
- name: Install project
run: poetry install --with release,dev
- name: Release project
run: poetry run semantic-release publish -v DEBUG
- name: Python Semantic Release
uses: relekang/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository_username: __token__
repository_password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit e79b94c

Please sign in to comment.