Skip to content

Commit

Permalink
ci: activate semantic-release step (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer authored May 19, 2024
1 parent fe6b80f commit 96a7258
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:
with:
fetch-depth: 0 # get all commits and tags
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
# - name: Create semantic release
# id: release
# uses: python-semantic-release/python-semantic-release@9555482f978fee890bd79b2ebac3095a20217375 # v9.7.3
# with:
# # allows for python-semantic-release to push to protected main branch
# github_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
# - name: Publish package to GitHub Release
# uses: python-semantic-release/upload-to-gh-release@0f96c02a48278aff14251e9f1a0d73122a8c638b
# if: ${{ steps.release.outputs.released }} == 'true'
# with:
# github_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
- name: Create semantic release
id: release
uses: python-semantic-release/python-semantic-release@9555482f978fee890bd79b2ebac3095a20217375 # v9.7.3
with:
# allows for python-semantic-release to push to protected main branch
github_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
- name: Publish package to GitHub Release
uses: python-semantic-release/upload-to-gh-release@0f96c02a48278aff14251e9f1a0d73122a8c638b
if: ${{ steps.release.outputs.released }} == 'true'
with:
github_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}

0 comments on commit 96a7258

Please sign in to comment.