Skip to content

Commit e2dcc6d

Browse files
committed
Merge branch 'ci/tools_fix'
2 parents 7657759 + 7c2977e commit e2dcc6d

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/scripts/upload_py_tools.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/build_py_tools.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,15 @@ jobs:
158158
for tool in ${{ env.CHANGED_TOOLS }}; do
159159
cp -f ./${{ env.DISTPATH }}/$tool.exe tools/$tool.exe
160160
done
161-
bash .github/scripts/upload_py_tools.sh "${{ env.CHANGED_TOOLS }}"
161+
162+
echo "Pushing '${{ env.CHANGED_TOOLS }}' as github-actions[bot]"
163+
git config --global user.name "github-actions[bot]"
164+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
165+
for tool in ${{ env.CHANGED_TOOLS }}; do
166+
git add tools/$tool.exe
167+
done
168+
git commit -m "change(tools): Push generated tools binaries"
169+
git push
162170
163171
- name: Archive artifact
164172
uses: actions/upload-artifact@master

0 commit comments

Comments
 (0)