We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8354426 commit 49d65b5Copy full SHA for 49d65b5
.github/workflows/pypi-publish.yaml
@@ -39,8 +39,7 @@ jobs:
39
git config user.name "GitHub Actions"
40
git config user.email "actions@github.com"
41
git add pyproject.toml
42
- git commit -m "Bump version to ${{ env.version }}"
43
- git push origin master
+ git diff --cached --quiet || (git commit -m "Bump version to ${{ env.version }}" && git push origin master)
44
working-directory: src/python
45
46
- name: Install dependencies
0 commit comments