Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed May 29, 2021
1 parent 139b820 commit 72835f1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- uses: webfactory/ssh-agent@v0.1.1
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -33,7 +29,7 @@ jobs:
prerelease: false

- name: Set up Python 3.7
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.7

Expand Down Expand Up @@ -65,5 +61,8 @@ jobs:
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
python -m pipenv run inv release.bump-version --dev --commit
git push git@github.com:${{ github.repository }}.git HEAD:master
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 72835f1

Please sign in to comment.