Skip to content

Commit

Permalink
ci: setup release step
Browse files Browse the repository at this point in the history
  • Loading branch information
cachitas committed Apr 16, 2024
1 parent bc68ad9 commit 76a60cb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,21 @@ jobs:
- name: Test with pytest
run: |
pdm run -v test
release:
needs: test
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 76a60cb

Please sign in to comment.