Skip to content

Commit

Permalink
fix: Unautherize to upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
vanducng committed Feb 5, 2022
1 parent 362e017 commit e246cbf
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,13 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore(release):')
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
- uses: actions/checkout@v2
with:
python-version: 3.8
- name: Checkout code
uses: actions/checkout@v2
- name: Semantic Release
run: |
pip install python-semantic-release
git config user.name github-actions
git config user.email [email protected]
semantic-release publish
fetch-depth: 0

- name: Python Semantic Release
uses: relekang/python-semantic-release@master
with:
github_token: ${{ secrets.GH_TOKEN }}
repository_username: __token__
repository_password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit e246cbf

Please sign in to comment.