Skip to content

Commit 72835f1

Browse files
committed
Fix release workflow
1 parent 139b820 commit 72835f1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/pypi_upload.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v2
1919

20-
- uses: webfactory/[email protected]
21-
with:
22-
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
23-
2420
- name: Create Release
2521
id: create_release
2622
uses: actions/create-release@v1
@@ -33,7 +29,7 @@ jobs:
3329
prerelease: false
3430

3531
- name: Set up Python 3.7
36-
uses: actions/setup-python@v1
32+
uses: actions/setup-python@v2
3733
with:
3834
python-version: 3.7
3935

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

0 commit comments

Comments
 (0)