File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 71
71
- name : Commit updated version
72
72
if : steps.version_changed.outputs.version_changed == 'false'
73
73
run : |
74
- git config --global user.name "${{ github.actor }}"
75
- git config --global user.email "${{ github.actor }} @users.noreply.github.com"
74
+ git config --global user.name mlcommons-bot
75
+ git config --global user.email "mlcommons-bot @users.noreply.github.com"
76
76
git add VERSION
77
77
git commit -m "Increment version to ${{ steps.do_version_increment.outputs.new_version }}"
78
78
git push
86
86
working-directory : ./
87
87
run : python3 -m build && rm dist/*.whl
88
88
89
- # Step 8: Publish to PyPI
89
+ # Step 8: Install the built wheel (as a test)
90
+ - name : Install wheel
91
+ working-directory : ./
92
+ run : |
93
+ wheel_file=$(ls dist/*.whl | tail -n 1)
94
+ python3 -m pip install "$wheel_file"
95
+
96
+ # Step 9: Publish to PyPI
90
97
- name : Publish to PyPI
91
98
uses : pypa/gh-action-pypi-publish@release/v1
92
99
with :
You can’t perform that action at this time.
0 commit comments