Skip to content

Commit

Permalink
Use automated Python Semver Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0dysseas committed Jul 7, 2021
1 parent eab2f07 commit 654b589
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,22 @@ jobs:
needs: Quality
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, 'chore(release):')
runs-on: ubuntu-latest
concurrency: release
steps:
- uses: actions/setup-python@v2
with:
python-version: 3.6
# - uses: actions/setup-python@v2
# with:
# fetch-depth: 0
# python-version: 3.6
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Semantic Release
run: |
pip install python-semantic-release
git config user.name github-actions
git config user.email [email protected]
semantic-release publish
uses: relekang/python-semantic-release@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# run: |
# pip install python-semantic-release
# git config user.name github-actions
# git config user.email [email protected]
# semantic-release publish

0 comments on commit 654b589

Please sign in to comment.