Skip to content

Commit b1f01c2

Browse files
committed
Update buildcommit.yml
1 parent ea14317 commit b1f01c2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/buildcommit.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,20 @@ jobs:
8282
with:
8383
name: win_${{ matrix.platform }}
8484
path: lib/win_${{matrix.platform}}/stackman.lib
85+
86+
commit-artifacts:
87+
runs-on: ubuntu-latest
88+
needs: [build-linux-gnu, build-windows]
89+
steps:
90+
- uses: actions/checkout@v2
91+
- uses: actions/download-artifact@v2
92+
with:
93+
path: lib
94+
95+
- name: Commit changes
96+
run: |
97+
git config --global user.name 'Automation tool'
98+
git config --global user.email 'automation-tool@users.noreply.github.com'
99+
git add lib/*.a lib/*.lib
100+
git diff-index --quiet HEAD || git commit -m "Automated build"
101+

0 commit comments

Comments
 (0)